Use the ping command to easily determine TCP/IP failures

Source: Internet
Author: User

1, Ping 127.0.0.1:

127.0.0.1 is a local circular address and if this address is not ping, the local machine TCP/IP protocol does not function.

2, ping This computer IP address:

Use Ipconfig to view the native IP, and then ping the IP, the general rule indicates that the network adapter (NIC or modem) is working properly, not the general rule is that the network adapter fails.

3, Ping the same network segment of the computer IP:

Ping the IP of a computer on the same network segment, the general rule indicates that the network line has a fault, if the network also contains routers, you should ping the routers in the network segment of the IP, not general rule This section of the line has problems; The general rule again ping the router in the target computer in the network segment of the port IP, is not general routing failure; General rules again ping the destination machine IP address.

4, Ping website:

To detect a network with a DNS service, you can ping the network name of the computer, such as Ping, after the IP address of the destination machine has been ping in the previous step and you are still unable to connect to the machine. Www.williamlong.info, the IP that the URL points to will normally appear, which indicates that the DNS settings for this computer are correct and the DNS server is working properly, and vice versa may be one of the failures; the same can be done by pinging the computer name to detect the failure of WINS resolution ( WINS is a service that resolves the computer name to an IP address.

After these four steps have been completed, the point of failure in the network is clear and we can solve the problem correctly.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.