國內用戶訪問不了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 工具。配置一次,高枕無憂!

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章