关于github:解决github无法访问的问题亲测有效

  • 最近发现github忽然打不开了,查了下起因如同也没有被墙。最初,终于找到一个改host的办法使得能够失常关上github,而且发现关上速度比之前还快。大家也能够试试。
  • C:WindowsSystem32driversetc中关上host文件(能够用UE等编辑工具关上),在该文件中增加如下内容。
# GitHub Start 
140.82.114.4 github.com
140.82.114.4 gist.github.com
185.199.108.153 assets-cdn.github.com
151.101.64.133 raw.githubusercontent.com
151.101.108.133 gist.githubusercontent.com
151.101.108.133 cloud.githubusercontent.com
151.101.108.133 camo.githubusercontent.com
151.101.108.133 avatars0.githubusercontent.com
151.101.108.133 avatars1.githubusercontent.com
151.101.108.133 avatars2.githubusercontent.com
151.101.108.133 avatars3.githubusercontent.com
151.101.108.133 avatars4.githubusercontent.com
151.101.108.133 avatars5.githubusercontent.com
151.101.108.133 avatars6.githubusercontent.com
151.101.108.133 avatars7.githubusercontent.com
151.101.108.133 avatars8.githubusercontent.com 
# GitHub End
  • 保留文件,从新刷新网页即可关上github了。
  • github关上慢的同学,也能够试试这个办法。
  • 感激大佬,原文在此。

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理