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

 

 

博客

https://blog.csdn.net/weixin_42728767/article/details/122568179

Request超时处理,则打开 http://ping.chinaz.com/github.com,搜索github的ip地址。

posted @ 2021-09-25 12:55  尐鱼儿  阅读(1675)  评论(0编辑  收藏  举报