In our testing work, we often encounter problems that a certain product website or service cannot be connected. With the help of the previous network-related knowledge, you can conduct preliminary troubleshooting from the following perspectives.
- Ping the domain name of the website to confirm whether it is a DNS resolution problem;
- When accessing intranet services through a domain name, first confirm whether the hosts file is configured with domain name mapping;
- Ping the website IP address to check the network connectivity of the target server;
- Telnet IP+port to confirm whether the remote service is reachable;
- Conditionally go to the server to execute telnet to distinguish whether the service is not started or is blocked by fire protection;
- ping 114.114.114.114 to detect whether you can access the Internet public network;
- ifconfig check whether the computer IP, default gateway, DHCP, DNS are correct;
- Ping the default gateway to detect the connectivity of the internal network access point;
- Tracert checks the routing situation. When multiple networks are connected or a VPN is used, it can be judged whether the request has passed through the correct gateway/route.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。