- 最近发现github突然打不开了。经过一番搜索,终于找到一个改host的方法使得可以正常打开github,而且发现打开速度比之前还快。大家也可以试试。
在C:\Windows\System32\drivers\etc中打开host文件(可以用UE等编辑工具打开),在该文件中添加如下内容。
# GitHub Host Start 185.199.109.154 github.githubassets.com 140.82.112.21 central.github.com 185.199.108.133 desktop.githubusercontent.com 185.199.109.153 assets-cdn.github.com 185.199.111.133 camo.githubusercontent.com 185.199.109.133 github.map.fastly.net 151.101.1.194 github.global.ssl.fastly.net 192.30.255.112 gist.github.com 185.199.109.153 github.io 192.30.255.113 github.com 192.30.255.116 api.github.com 185.199.111.133 raw.githubusercontent.com 185.199.110.133 user-images.githubusercontent.com 185.199.109.133 favicons.githubusercontent.com 185.199.108.133 avatars5.githubusercontent.com 185.199.109.133 avatars4.githubusercontent.com 185.199.108.133 avatars3.githubusercontent.com 185.199.108.133 avatars2.githubusercontent.com 185.199.111.133 avatars1.githubusercontent.com 185.199.109.133 avatars0.githubusercontent.com 185.199.111.133 avatars.githubusercontent.com 192.30.255.121 codeload.github.com 52.217.113.73 github-cloud.s3.amazonaws.com 52.217.121.41 github-com.s3.amazonaws.com 16.182.66.161 github-production-release-asset-2e65be.s3.amazonaws.com 16.182.32.177 github-production-user-asset-6210df.s3.amazonaws.com 52.217.87.148 github-production-repository-file-5c1aeb.s3.amazonaws.com 185.199.110.153 githubstatus.com 140.82.112.17 github.community 185.199.110.133 media.githubusercontent.com 185.199.108.133 objects.githubusercontent.com 185.199.110.133 raw.github.com 20.221.80.166 copilot-proxy.githubusercontent.com # GitHub Host End
- 保存文件,重新刷新网页即可打开github了。
- github打开慢的同学,也可以试试这个方法。
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。