GitHub无法访问

Posted html-css-js

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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:WindowsSystem32driversetchosts 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

以上是关于GitHub无法访问的主要内容,如果未能解决你的问题,请参考以下文章

解决Github无法访问的问题

无法通过 ssh 连接到 Github,无法访问 .ssh.config

其他网站都能访问,只有GitHub无法访问

解决2020-3-27 github无法访问

升级到 Catalina (MAC OS) 后无法访问 github

GitHub无法访问