Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of checking whether the port is connected by the CVM

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

What is the method for the CVM to check whether the port is connected? The Ping command is a commonly used command tool for checking network connectivity on CVM Windows and Linux systems, but ping has a disadvantage that it cannot specify a port. Here we share other tools that can be used to test port connectivity.

Hhping

Hping is a TCP/IP packet assembly / analysis tool used under the command line. Its command mode is similar to the ping command under Unix, but it can not only send ICMP echo requests, but also support TCP, UDP, ICMP and RAW-IP protocols. It has a route tracking mode that can transfer files between two channels that contain each other.

Usage scenario: compared with the ping tool, HPING can use any IP message, including ICMP, TCP, UDP, and RAWSOCKET. Its advantage is that it can customize all parts of the packet and support detailed detection of the destination address.

Usage: hping address-S-V-c times-p port

Test-netconnection

The Test-NetConnection cmdlet displays diagnostic information for a connection.

Displays status diagnostic information for the connection.

Usage scenario: powershell comes with a network testing tool that can be used to test port connectivity. Compared with Psping, the function is relatively simple.

Usage: Test-NetConnection address-port port

Paping

Paping is an open source tool for testing tcp port connectivity under linux. It only supports tcp, not udp.

Usage scenario: PaPing can not only test port connectivity, but also detect network latency. The only drawback is that it does not support udp protocol.

Usage:. / paping-p port-c times address

Psping

Psping is a testing tool provided by Microsoft, which can be used to test ICMP ping, TCP ping, delay test, bandwidth test and so on.

Usage scenario: you can not only test port connectivity, but also detect network latency. The only limitation is that it is limited to windows systems.

How to use: C:\ PSTools > psping.exe address: Port

The CVM is easy to use, can reinstall the system, change the line, restore the backup, restart, configure FTP and IIS with one click, provide 24-hour assistance with after-sales technology, and link to https://www.yisu.com/cloud/ for CVM products.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report