解決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