赞
踩
1:如果直接ping github.com 显示的为超时
2:打开C:\Windows\System32\drivers\etc目录找到hosts文件
ps:如果直接修改这个文件是没有办法进行保存的
解决办法:直接Ctrl+C复制到桌面或者其他地方,通过记事本或者其他软件打开如editplus
在末尾增加
#github start
20.248.137.48 github.com
#github end
#githubassets start
185.199.111.154 github.githubassets.com
185.199.110.154 github.githubassets.com
185.199.109.154 github.githubassets.com
185.199.108.154 github.githubassets.com
185.199.111.154 raw.githubusercontent.com
185.199.110.154 raw.githubusercontent.com
185.199.109.154 raw.githubusercontent.com
185.199.108.154 raw.githubusercontent.com
185.199.111.154 avatars.githubusercontent.com
185.199.110.154 avatars.githubusercontent.com
185.199.109.154 avatars.githubusercontent.com
185.199.108.154 avatars.githubusercontent.com
185.199.111.154 camo.githubusercontent.com
185.199.110.154 camo.githubusercontent.com
185.199.109.154 camo.githubusercontent.com
185.199.108.154 camo.githubusercontent.com
185.199.111.154 raw.githubusercontent.com
185.199.110.154 raw.githubusercontent.com
185.199.109.154 raw.githubusercontent.com
185.199.108.154 raw.githubusercontent.com
#githubassets end
3:点击保存,然后把这个文件再copy回C:\Windows\System32\drivers\etc目录下直接替换
4:大功告成
5:补充 上诉2的地址通过多个地点Ping服务器,网站测速 - 站长工具 (chinaz.com)获取
这种是不能使用的状态
这种是可以直接使用的状态
6:
至于上面的这个是github的资源域名
IP地址的确定同上 只需要在刚才搜索的地方把github.com替换为github.githubassets.com地址就可以拿到能访问的IP地址
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。