解决github页面打不开 页面加载慢,注册不了显示Unable to verify your captcha response...
解决国内打开Github页面、注册等问题
下列方法可以解决:
- github网站页面打不开;
- github页面打开慢,偶尔打不开,部分页面链接也打不开;
- 注册不了github账号,找回密码失败等,显示Unable to verify your captcha response. Please visit https://help.github.com/articles/troubleshooting-connectivity-problems/#troubleshooting-the-captcha for troubleshooting information.
找了很久,甚至都搭了梯子,最后还是修改host的方法好用,参考方法出处:
https://zhuanlan.zhihu.com/p/36154464
https://zhuanlan.zhihu.com/p/158938544
思路就是获取到github的服务器地址后,修改hosts文件(本地域名解析),省去网络DNS时间
直接上流程
1、打开文件浏览器,找到hosts文件(下面是windows,linux就直接vim /etc/hosts)
C:\Windows\System32\drivers\etc
(复制黏贴到下面箭头的位置,再回车)
2、修改hosts文件(提示没有编辑权限的话就鼠标吧hosts文件拉到桌面,编辑完再拉回来)
140.82.114.3 github.com 199.232.69.194 github.global.ssl.fastly.net 185.199.108.153 assets-cdn.github.com 185.199.110.153 assets-cdn.github.com 185.199.111.153 assets-cdn.github.com
3、保存好了之后打开github吧,秒开;
GGSDDU