GitHub访问慢或者无法加载的解决办法

发布于 2019-09-26 作者 风铃 20次 浏览 版块 前端

1.挂VPN

个人觉得比较麻烦,每次使用都要打开。

2.修改hosts文件

在C:WindowsSystem32driversetc路径下,打开hosts文件(使用记事本即可),在最底部加上

151.101.229.194 github.global.ssl.fastly.net

GitHub Start

192.30.253.113 github.com
103.224.182.241 gist.github.com
151.101.76.133 assets-cdn.github.com
151.101.228.133 raw.githubusercontent.com
151.101.228.133 gist.githubusercontent.com
151.101.228.133 cloud.githubusercontent.com
151.101.228.133 camo.githubusercontent.com
151.101.228.133 avatars0.githubusercontent.com
151.101.228.133 avatars1.githubusercontent.com
151.101.228.133 avatars2.githubusercontent.com
151.101.228.133 avatars3.githubusercontent.com
151.101.228.133 avatars4.githubusercontent.com
151.101.228.133 avatars5.githubusercontent.com
151.101.228.133 avatars6.githubusercontent.com
151.101.228.133 avatars7.githubusercontent.com
151.101.228.133 avatars8.githubusercontent.com

GitHub End

    毕竟是国外的网站,不要祈求加载速度有多快,差不多就行了。

收藏
暂无回复