Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Unix >> Linux >> commands >> nc >> How to use nc as substitute for telnet to do connectivity test to remote IP and port

 

1. simplest form

nc <ip> <port>

2. verbose

nc -v <ip> <port>

3. verbose and fixed timeout

nc -v -w1 <ip> <port>

4. put up a listening port on all IP and specific port on this machine

nc -l <port>

5. put up a listening port on specific IP addr and port on this machine

nc -l <localip> <port>




 

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]