国内用户访问不了Github的解决方法

2. GitHub520

国内那么多程序员,肯定有人会挺身而出,解决大家无法访问 GitHub 的难题。

GitHub520 就是一个帮助大家访问 GitHub 的项目,本质也是通过修改 hosts 来实现的。该项目的作者为大家提供了一份完整的 hosts 列表,无需大家自己查询可用 IP,非常地贴心,而且每天都会更新!

# GitHub520 Host Start
140.82.112.26                 alive.github.com
140.82.114.25                 live.github.com
185.199.108.154               github.githubassets.com
140.82.114.21                 central.github.com
185.199.108.133               desktop.githubusercontent.com
185.199.108.153               assets-cdn.github.com
185.199.108.133               camo.githubusercontent.com
185.199.108.133               github.map.fastly.net
199.232.69.194                github.global.ssl.fastly.net
140.82.112.3                  gist.github.com
185.199.108.153               github.io
140.82.112.4                  github.com
140.82.113.6                  api.github.com
185.199.108.133               raw.githubusercontent.com
185.199.108.133               user-images.githubusercontent.com
185.199.108.133               favicons.githubusercontent.com
185.199.108.133               avatars5.githubusercontent.com
185.199.108.133               avatars4.githubusercontent.com
185.199.108.133               avatars3.githubusercontent.com
185.199.108.133               avatars2.githubusercontent.com
185.199.108.133               avatars1.githubusercontent.com
185.199.108.133               avatars0.githubusercontent.com
185.199.108.133               avatars.githubusercontent.com
140.82.114.10                 codeload.github.com
52.216.233.19                 github-cloud.s3.amazonaws.com
52.216.178.147                github-com.s3.amazonaws.com
52.217.17.44                  github-production-release-asset-2e65be.s3.amazonaws.com
52.217.196.241                github-production-user-asset-6210df.s3.amazonaws.com
52.217.128.49                 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153               githubstatus.com
64.71.168.201                 github.community
185.199.108.133               media.githubusercontent.com


# Update time: 2021-06-01T08:28:27+08:00
# Star me GitHub url: https://github.com/521xueweihan/GitHub520
# GitHub520 Host End

此外,作者为了方便大家更新本地的 hosts,还提供了定时自动更新 hosts 内容的教程,比如使用 SwitchHosts 工具。配置一次,高枕无忧!

https://raw.fastgit.org/521xueweihan/GitHub520/main/hosts

 

posted @ 2021-06-01 10:03  北京de小刀  阅读(5638)  评论(0编辑  收藏  举报