github打开经常超时或无法连接解决办法

 打开C:WindowsSystem32driversetchosts,在文件末尾添加

192.30.255.112 github.com git
185.31.16.184 github.global.ssl.fastly.net

保存后,在cmd终端中ping github.com,可以看到字节交互,说明连接成功。

链接:https://mrbailijie.github.io/docsifyBlog/index.html#/blog/github

原文地址:https://www.cnblogs.com/mo-lu/p/15408585.html