加速Github访问,最新地址仅需1步!

, Read in about 1 min

Posted by Ryen on Tuesday, December 21, 2021
With final update in December 26,2023

本文总阅读量

目前github最新的host地址

# GitHub Start 
# Last update at 2021-08-03 21:13:14 (Beijing Time)
140.82.112.5 api.github.com
185.199.108.153 assets-cdn.github.com
185.199.110.133 avatars.githubusercontent.com
185.199.108.133 avatars0.githubusercontent.com
185.199.110.133 camo.githubusercontent.com
185.199.108.133 cloud.githubusercontent.com
140.82.114.10 codeload.github.com
185.199.108.133 favicons.githubusercontent.com
140.82.113.4 gist.github.com
185.199.109.133 gist.githubusercontent.com
140.82.113.4 github.com
185.199.108.154 github.githubassets.com
185.199.109.133 marketplace-screenshots.githubusercontent.com
140.82.113.4 octocaptcha.com
185.199.111.133 raw.githubusercontent.com
185.199.109.133 repository-images.githubusercontent.com
140.82.112.14 uploads.github.com
185.199.109.133 user-images.githubusercontent.com
# GitHub End 

内容源自:https://github.com/ButterAndButterfly/GithubHost

自行查询源地址的方法:

第一步:访问ipaddress,获取github的global.ssl.fastly地址

https://fastly.net.ipaddress.com/github.global.ssl.fastly.net

得到:199.232.69.194 https://github.global.ssl.fastly.net

第二步:获取github.com地址

https://github.com.ipaddress.com

得到:140.82.112.4 http://github.com

https://www.ipaddress.com/

修改host文件,达到加速效果

windows系统:C:\Windows\System32\drivers\etc
mac系统:打开访达,commnd+shift+g,输入/etc/hosts

「真诚赞赏,手留余香」

Ryen's Blog

真诚赞赏,手留余香

使用微信扫描二维码完成支付