GITHUB can not access solution

github can not access very often due to your Internet service provider does not resolve the DNS caused
we only need to add their own URL corresponding to IP in the computer can be resolved

In the following URL query IP

https://www.ipaddress.com/

Linux edit hosts

sudo vim /etc/hosts

Add the following three URLs to IP hosts inside, each person may not be the same as the corresponding IP, and IP address github is also bound to change, of course, if you find it impossible to access a Web site, only need to check the corresponding IP that is added to it can

192.30.253.112 github.com
199.232.5.194 github.global.ssl.fastly.net
199.232.68.133 raw.githubusercontent.com

Restart Network

sudo /etc/init.d/networking restart

solve

Published 11 original articles · won praise 9 · views 1719

Guess you like

Origin blog.csdn.net/yuleitao/article/details/104639749