In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you about how the CVM can check whether the port is connected. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
How does the CVM 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 is Xiao Yun's editor to 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
Thank you for reading! This is the end of the article on "how to check whether the port is connected on the CVM". I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it out for more people to see!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.