解决github网站打不开的方法的两种方法


https://www.jianshu.com/p/642e658577f1

1)百度搜索’查询网址dns,或者’可以直接输入网址
https://tool.chinaz.com/dns/

http://tool.chinaz.com/dns?type=1&host=github.com&ip=

 

 

 

 
2)检测https://github.com得到响应IP,添加IP到hosts文件中

windows C:\Windows\System32\drivers\etc\hosts
Mac 在Finder中同时按“Shift”“Command”“G”三个键,输入“/etc/hosts”
linux /etc/hosts
方法一直接修改hosts文件,添加下面IP到文件中
13.229.188.59 github.com
140.82.112.4 github.com


免责声明!

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



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