Skip to main content
NetApp Knowledge Base

How to use NetCat instead of telnet to check if a port is open

Views:
7,774
Visibility:
Public
Votes:
4
Category:
element-plug-in-for-vcenter-server
Specialty:
solidfire
Last Updated:

Applies to

  • NetApp SolidFire
  • NetApp HCI
  • NetApp Element Software

Description

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).

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.