跳转到主内容

如何使用netcat而不是telnet来检查端口是否已打开

Views:
87
Visibility:
Public
Votes:
0
Category:
element-plug-in-for-vcenter-server
Specialty:
solidfire
Last Updated:

适用场景

  • NetApp SolidFire
  • NetApp HCI
  • NetApp Element 软件

问题描述

netcat (Linux中的"nc"命令)比telnet更有效地检查目标系统上的特定端口是否已打开。它速度更快、并可直接提供连接到端口成功或失败的信息。

NC基于TCP、在 不允许执行ping操作的环境中对网络连接进行故障排除(例如、验证网络端口要求)非常有用。

在Element软件环境 中、可以使用它来检查从mNode到各种集群管理IP、从mNode到ActiveIQ端点(monitoring.solidfire.com)以及存储网络上的IP之间的连接(后者需要NetApp支持部门的协助)。

 

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.