github打开慢,甚至打不开

有人使用github后,在某些网络下发现打开慢,甚至打不开,这都是因为他是国外站;目前互联网的连接机制导致超过一定的路由节点的连接就会出现这个问题,解决办法就是直接告诉本机ip。不要先层层询问域名转ip,这样速度和连接的速度都可以进一步的大副提升,所以将下面的内容帖到本机的hosts文件中,你就有可能见证奇迹~

192.30.253.112 github.com 
192.30.253.119 gist.github.com 
151.101.100.133 assets-cdn.github.com 
151.101.100.133 raw.githubusercontent.com 
151.101.100.133 gist.githubusercontent.com 
151.101.100.133 cloud.githubusercontent.com 
151.101.100.133 camo.githubusercontent.com 
151.101.100.133 avatars0.githubusercontent.com 
151.101.100.133 avatars1.githubusercontent.com 
151.101.100.133 avatars2.githubusercontent.com 
151.101.100.133 avatars3.githubusercontent.com 
151.101.100.133 avatars4.githubusercontent.com 
151.101.100.133 avatars5.githubusercontent.com 
151.101.100.133 avatars6.githubusercontent.com 
151.101.100.133 avatars7.githubusercontent.com 
151.101.100.133 avatars8.githubusercontent.com

转载于:https://www.cnblogs.com/Qing-840/p/11196668.html

你可能感兴趣的:(github打开慢,甚至打不开)