解决github网站的css,js文件被墙


前两天我打开github网站,想推送些东西上去,结果发现github成这样了!

 

起初我并没有在意。。以为是神马网络问题,然后没理它了。结果今天又打开来看还是这样,不管是用chrome firefox 都打不开,我直接百度收了一下,很简单明显 被墙了!

然后我就在百度,试过了七八次后,说什么在hosts文件改ip 都没有用。后面就找到了一个办法 一试  成了!!!
解决办法:修改  C:\Windows\System32\drivers\etc  中的hosts文件

# GitHub Start 
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 
# GitHub End

以上信息来源于网站:http://neue.v2ex.com/t/320178,感谢评论区chenxuhua的分享。

 

保存后。 一切都好了

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM