跳转到主内容
We are redesigning the NetApp Knowledge Base site to make it easier to use and navigate. The new and improved site will be available the first week of October. Check out our video or read this KB article to know more about changes you’ll see on the site.

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

Views:
23
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 (而不是像 telnet 那样基于 ICMP ),因此在禁止 ping 的环境中对网络连接进行故障排除(例如,验证网络端口要求)非常有用。 [1]

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

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support