当前位置:   article > 正文

修改github hosts,提高github访问速度,优化GitHub网站打开慢的问题,解决github访问速度慢

github hosts

最新github绑定的hosts查看链接,几乎每天都有更新:

https://gitlab.com/ineo6/hosts/-/raw/master/next-hosts

hosts配置

# github
185.199.108.154              github.githubassets.com
140.82.113.22                central.github.com
185.199.108.133              desktop.githubusercontent.com
185.199.110.153              assets-cdn.github.com
185.199.110.133              camo.githubusercontent.com
185.199.108.133              github.map.fastly.net
151.101.193.194              github.global.ssl.fastly.net
140.82.112.4                 gist.github.com
185.199.108.153              github.io
140.82.112.3                 github.com
140.82.113.5                 api.github.com
185.199.110.133              raw.githubusercontent.com
185.199.111.133              user-images.githubusercontent.com
185.199.109.133              favicons.githubusercontent.com
185.199.111.133              avatars5.githubusercontent.com
185.199.111.133              avatars4.githubusercontent.com
185.199.108.133              avatars3.githubusercontent.com
185.199.110.133              avatars2.githubusercontent.com
185.199.109.133              avatars1.githubusercontent.com
185.199.111.133              avatars0.githubusercontent.com
185.199.108.133              avatars.githubusercontent.com
140.82.114.10                codeload.github.com
52.216.186.131               github-cloud.s3.amazonaws.com
52.217.142.153               github-com.s3.amazonaws.com
3.5.28.246                   github-production-release-asset-2e65be.s3.amazonaws.com
52.216.166.11                github-production-user-asset-6210df.s3.amazonaws.com
54.231.160.65                github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.109.153              githubstatus.com
140.82.113.18                github.community
185.199.108.133              media.githubusercontent.com
185.199.111.133              objects.githubusercontent.com
185.199.110.133              raw.github.com
20.221.80.166                copilot-proxy.githubusercontent.com

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35

设置路径

1.windows配置

C:\Windows\System32\drivers\etc\HOSTS

2.mac

vi /etc/hosts

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/578696
推荐阅读
相关标签
  

闽ICP备14008679号