Home >Common Problem >How to use the ping command to check for network failures
Check method: First enter the dos window and execute the "ping 127.0.0.1" command to check whether the protocol is normal; then execute the "IPCONFIG" command to check the network connection; then execute "ping website address" to check whether it is connected to the Internet; Finally, execute "netsh" to view the local connection properties.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
First use the Ping command to diagnose whether the local TCP/IP protocol is installed normally. The detection method is as follows: press win R to run, then enter the "CMD" command in the run dialog box, and press ENTER to enter the command operation interface , as shown below:
Enter ping 127.0.0.1 and press enter to start checking whether the local TCP/IP protocol is installed normally? The result is that it can respond normally. It means that the local TCP/IP network protocol installation is normal
# Check the IP address, subnet mask, and default gateway of the local connection and other network links. After entering the command IPCONFIG, Press Enter
to check whether the computer is connected to the Internet. Enter: ping www.baidu.com in the command box and press Enter
If the above IP address setting is wrong, then enter the command: netsh interface ip set address local connection static 192.168.131.131 255.255.255.0 192.168.131.1
By viewing the local The properties of the connection can be seen and the setting is successful
For more computer-related knowledge, please visit the FAQ column!
The above is the detailed content of How to use the ping command to check for network failures. For more information, please follow other related articles on the PHP Chinese website!