GitHub无法访问

问题已经解决所以没有现状图,就是信息提示无法访问,困扰我很久了,今天给解决了 百度了很多人的做法,大多数都是该dns,不过很多dns改了以后还是不行,最后尝试摸索出了一套行之有效的方法---改dns 还是改dns,但不是乱改,是查ip以后通过cmd ping ip地址以后改,查询地址http://github.com.ipaddress.com/,在搜索框查询github.global.ssl.fastly.net和github.com两个就可以了,写到hosts文件里面,保存,然后刷新dns,在cmd里面通过指令刷新,可多刷几次 1、hosts文件路径 C:\Windows\System32\drivers\etc\hosts 2、IP查询网址 http://github.com.ipaddress.com/ 3、hosts文件配置如下 #github #207.97.227.243 http://www.github.com #207.97.227.252 http://nodeload.github.com 151.101.13.194 github.global.ssl.fastly.net 192.30.253.113 github.com 192.30.253.112 github.com 4、dns刷新指令 ipconfig/flushdns

猜你喜欢

转载自www.cnblogs.com/html-css-js/p/9206271.html