1.前提
今天打开github的时候,一直加载失败。
2.解决办法
1.首先cmd-ping github.com-相应超时
2.访问http://www.github.com.ipaddress.com/找到github地址
3.用笔记本或者notepad++打开host(host地址:C:\Windows\System32\drivers\etc)
4.把地址复制粘贴到host中
192.30.255.112 github.com
5.cmd->ping github.com。能正常解析github的域名了。