1. ping github.com
M:\HappyMa\study> ping github.com
正在 Ping github.com [203.208.39.99] 具有 32 字節(jié)的數(shù)據(jù):
請(qǐng)求超時(shí)。
請(qǐng)求超時(shí)。
請(qǐng)求超時(shí)。
請(qǐng)求超時(shí)
2. 如果超時(shí)
則打開http://ping.chinaz.com/https://github.com,搜索github的ip地址

image.png
3. 找個(gè)響應(yīng)時(shí)間最短的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 字節(jié)的數(shù)據(jù):
來(lái)自 140.82.113.3 的回復(fù): 字節(jié)=32 時(shí)間=319ms TTL=43
來(lái)自 140.82.113.3 的回復(fù): 字節(jié)=32 時(shí)間=326ms TTL=43
來(lái)自 140.82.113.3 的回復(fù): 字節(jié)=32 時(shí)間=315ms TTL=43
來(lái)自 140.82.113.3 的回復(fù): 字節(jié)=32 時(shí)間=310ms TTL=43
140.82.113.3 的 Ping 統(tǒng)計(jì)信息:
數(shù)據(jù)包: 已發(fā)送 = 4,已接收 = 4,丟失 = 0 (0% 丟失),
往返行程的估計(jì)時(shí)間(以毫秒為單位):
最短 = 310ms,最長(zhǎng) = 326ms,平均 = 317ms