美文网首页
RequestError: connect ETIMEDOUT

RequestError: connect ETIMEDOUT

作者: 境与界 | 来源:发表于2020-06-26 10:54 被阅读0次

    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地址

    image.png

    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
    

    相关文章

      网友评论

          本文标题:RequestError: connect ETIMEDOUT

          本文链接:https://www.haomeiwen.com/subject/tviyfktx.html