ping command and network port:1.Ping 127.0.0.1127.0.0.1 is the local circular address, ping General instructions that the TCP/IP protocol works properly, otherwise TCP/IP is not normal.2.Ping IP address for this computerUse the ipconfig command to
In the code development process, we often need to use some network commands, as follows:(1) ipconfig command: Generally used to view our computer's IP address, gateway, subnet mask, DNS and other related information, such as:Ipconfig-all(2) Ping
Ping command usage
Ping is a frequently used utility used to determine whether a local host can exchange (send and receive) data packets with another host. Based on the returned message, you can infer whether the TCP/IP parameter is set correctly
Ping is a command under Windows, UNIX, and Linux systems. Ping also belongs to a communication protocol and is part of the TCP/IP protocol. The ping command allows you to check if the network is connected and helps us to analyze and determine
TCP/UDP Common port number
7 Echo (PING)9 DiscardDaytimer19 Word Fuzhou Builder20/TCP FTP Data21/TCP FTP Control File Transfer Protocol22/TCP SSH Secure Login, File transfer (SCP), and port redirection23/tcp Telnet Unsafe Text transfer25/tcp SMTP
(I) How ping works
The source host (the host that inputs the ping command) sends an ECHO packet in the ICMP protocol to the target host.
If the recipient is alive, an ICMP echo-reply packet is returned to the source host.
(Ii) TTL
What does the
(reference) TCP/IP detailed, Volume 1: protocolThe name "ping" is derived from the sonar positioning operation. The goal is to test whether another host can be reached. The program sends an ICMP echo request message to the host and waits to return
Principles of Ping and Traceroute (5)
(Reference) TCP/IP explanation, Volume 1: Protocol
The name "ping" comes from the sonar positioning operation. The purpose is to test whether another host can arrive. The program sends an ICMP echo request
Ping Command details
Ping can be used to test the computer name and computer ip address, verify the connection with the remote computer, verify the connection to one or more remote computers by sending icmp echo data packets to the computer and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.