访问github出现why did I get redirected to this page

发布于 2013-12-02  35 次阅读


最近就觉得奇怪了,每次访问github都会出现这个页面,搜索了一下,原来是因为用了smarthosts,github的IP改变了而smarthosts却自从今年7月份开始就一直没有更新过。
解决方法是删除或者注释掉hosts文件中“#GitHub START”到“#GitHub END
”这一段。
亦或者使用我的hosts文件中的一段:

#GitHub START
103.245.222.133 documentcloud.github.com
199.27.77.133 documentcloud.github.com
199.27.76.133 documentcloud.github.com
199.27.74.133 documentcloud.github.com
199.27.73.133 documentcloud.github.com
185.31.17.133 documentcloud.github.com
185.31.16.133 documentcloud.github.com
192.30.252.128 github.com
192.30.252.129 github.com
192.30.252.130 github.com
192.30.252.131 github.com
192.30.252.140 gist.github.com
192.30.252.141 gist.github.com
192.30.252.142 gist.github.com
192.30.252.143 gist.github.com
107.20.136.254 help.github.com
54.235.182.14 help.github.com
54.235.185.69 help.github.com
192.30.252.144 nodeload.github.com
192.30.252.145 nodeload.github.com
192.30.252.146 nodeload.github.com
192.30.252.147 nodeload.github.com
103.245.222.133 raw.github.com
199.27.77.133 raw.github.com
199.27.74.133 raw.github.com
185.31.18.133 raw.github.com
103.245.222.133 raw.github.com
107.22.3.110 status.github.com
103.245.222.133 training.github.com
199.27.77.133 training.github.com
192.30.252.128 www.github.com
192.30.252.129 www.github.com
192.30.252.130 www.github.com
192.30.252.131 www.github.com
#GitHub END

smarthosts这个项目感觉挺好的,现在不知道为啥停止了更新。
我一直使用smarthosts+自己手动维护的。因为我也会制作hosts的原因,有些网站我就通过自己设置hosts来连上了。
不知道有没有人想要我自己维护的hosts文件呢?
因为个人觉得维护一个项目挺费时间的,我个人又怕麻烦又懒惰,所以也没有完全决定维护这一个hosts项目,现在也是自己发现有访问问题才去更新自己的hosts文件而已。本来开的一个hosts项目也因为无人问津我现在也已经停止更新了。

如果有人想要我自己维护的hosts文件的话就再联系我吧。

除非注明,本博客所有内容 由 秒速340 创作,采用 知识共享 署名-非商业性使用-禁止演绎 3.0 未本地化版本 许可协议进行许可。