How to use NetCat instead of telnet to check if a port is open
- Last Updated:
- NetApp SolidFire
- NetApp HCI
- NetApp Element Software
Netcat (the 'nc' command in linux) is a more effective way than telnet of checking if a specific port is open on a destination system. It is faster and provides direct information of success or failure in connecting to a port.
Nc is TCP-based, it is useful in troubleshooting network connectivity (for instance, validating Network Port Requirements) in an environment in which ping is disallowed.
In an Element Software context, it can be used to check connectivity from the mNode to various cluster management IP's, from the mNode to the ActiveIQ endpoint (monitoring.solidfire.com), and between IP's on the storage network (the latter requires assistance from NetApp Support).