Ping command
Ping command is usually used to check the connectivity of the network, but not to access the port of the host;
If the home network doesn't work, you can check whether you can access the external network through the ping command for troubleshooting. For example, I often use ping1114.16.5438+04.16.5438 (a famous DNS address). If you ping,
Determines whether the server's service is open.
The method mentioned at the beginning of this paper is the simplest, and direct access is enough. However, if there are many servers, it is a very troublesome thing to access one by one, and the efficiency is very low. Here is a famous tool "nmap", which is found in the Matrix movie.
Software installation is simple, and the next step is enough. If you determine whether a server's service is open, use the command: nmap-p port number -Pnip address (or domain name) to determine whether port 80 of today's headline website is open, graphical interface and command line mode. I am more accustomed to using command line mode;
Of course, nmap has many functions. This is a very good security audit tool. It can be downloaded in official website. If you are too lazy to download, the private message "NMAP" will automatically send you a copy.
How to treat the use of ping and the opening of scanning server service? Please leave a message in the comments section to discuss.
If you need more help, please pay attention to it in private. thank you