解决github经常无法访问的问题


1.进入网址https://github.com.ipaddress.com,查看GitHub的ip地址。

140.82.113.3 github.com

 

2.进入网址https://fastly.net.ipaddress.com/github.global.ssl.fastly.net,找到域名ip

199.232.69.194 github.global.ssl.fastly.net

 

3.进入网址https://github.com.ipaddress.com/assets-cdn.github.com,找到静态资源ip

185.199.108.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com

 

 

最后把这些相对应的ip写入本机中的host文件中

host文件位置:C:\Windows\System32\drivers\etc


免责声明!

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



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