文章目录
显示
序言
自从疫情以来,针对Github的间歇性阻断越来越频繁了……
对于码农来说,在国内访问Github真是越来越坎坷……
寻找HOST
如何找到Github域名对应的IP?
打开 https://www.ipaddress.com/ 输入访问不了的域名,比如:github.com , raw.githubusercontent.com
查询之后可以获得正确的 IP 地址
然后修改本地的HOSTS文件 就可以啦
140.82.113.4 github.com
185.199.108.133 raw.githubusercontent.com
185.199.108.133 user-images.githubusercontent.com
185.199.108.133 avatars2.githubusercontent.com
185.199.108.133 avatars1.githubusercontent.com
开源仓库
手动自己找是比较繁琐的,这里分享一个代码,自动生成Hosts
某大佬分享的仓库:https://github.com/521xueweihan/GitHub520
某大佬自建项目地址:https://github.com/malaohu/GitHubHosts
博主开源了所有代码,大家可以参考一下!!
140.82.113.26 alive.github.com
140.82.112.26 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.114.3 gist.github.com
185.199.108.153 github.io
140.82.114.4 github.com
192.0.66.2 github.blog
140.82.112.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.112.10 codeload.github.com
52.216.184.147 github-cloud.s3.amazonaws.com
54.231.141.9 github-com.s3.amazonaws.com
52.217.99.156 github-production-release-asset-2e65be.s3.amazonaws.com
52.216.109.203 github-production-user-asset-6210df.s3.amazonaws.com
52.217.65.188 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153 githubstatus.com
64.71.144.211 github.community
23.100.27.125 github.dev
185.199.108.133 media.githubusercontent.com
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。