1. ping github.com
M:\HappyMa\study> ping github.com
正在 Ping github.com [203.208.39.99] 具有 32 字节的数据:
请求超时。
请求超时。
请求超时。
请求超时
2. 如果超时
则打开http://ping.chinaz.com/https://github.com,搜索github的ip地址
3. 找个响应时间最短的IP
我用的是加拿大的,打开C:\Windows\System32\drivers\etc\hosts
140.82.113.3 github.com
4. ping github.com
M:\HappyMa\study> ping github.com
正在 Ping github.com [140.82.113.3] 具有 32 字节的数据:
来自 140.82.113.3 的回复: 字节=32 时间=319ms TTL=43
来自 140.82.113.3 的回复: 字节=32 时间=326ms TTL=43
来自 140.82.113.3 的回复: 字节=32 时间=315ms TTL=43
来自 140.82.113.3 的回复: 字节=32 时间=310ms TTL=43
140.82.113.3 的 Ping 统计信息:
数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):
最短 = 310ms,最长 = 326ms,平均 = 317ms
网友评论