如何破解github.com无法打开的难题?

更新于
2026-09-29 15:06:21
13阅读来源:SEO资源
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计572个文字,预计阅读时间需要3分钟。

如何破解github.com无法打开的难题?

博客文章内容摘要:- 博客文章主要涉及学习相关的书籍、培训课程和网络博客。- 目的是进行学习讨论,而非商业用途。- 包含博客截图、内容来源、书籍及培训课程信息。- 如有侵权,请联系我,我将立即删除相关链接。

博客文章部分截图及内容来自于学习的书本及相应培训课程以及网络其他博客,仅做学习讨论之用,不做商业用途。

* 如有侵权,马上联系我,我立马删除对应链接。

​

1、查ip

博客文章部分截图及内容来自于学习的书本及相应培训课程以及网络其他博客,仅做学习讨论之用,不做商业用途。

  • 如有侵权,马上联系我,我立马删除对应链接。

进入 ​​ip.chinaz.com​​​ ,分别输入​​github.com​​​ 和​​github.global.ssl.fastly.net​​可以查到两个ip


​​



2、修改hosts文件

进入C:\Windows\System32\drivers\etc
在末尾加入ip和网址(两个都加入)并保存


​​


#140.82.113.4 github.com
#52.74.223.119 www.github.com
#185.31.17.184 github.global.ssl.fastly.net
#github
#192.30.253.112 github.com
#151.101.113.194 github.global.ssl.fastly.net
20.205.243.166 github.com
203.98.7.65 gist.github.com
185.199.108.153 assets-cdn.github.com
185.199.111.133 raw.githubusercontent.com
185.199.110.133 gist.githubusercontent.com
185.199.111.133 cloud.githubusercontent.com
#151.101.100.133 camo.githubusercontent.com
#151.101.100.133 avatars0.githubusercontent.com
#151.101.100.133 avatars1.githubusercontent.com
#151.101.100.133 avatars2.githubusercontent.com
#151.101.100.133 avatars3.githubusercontent.com
#151.101.100.133 avatars4.githubusercontent.com
#151.101.100.133 avatars5.githubusercontent.com
#151.101.100.133 avatars6.githubusercontent.com
#151.101.100.133 avatars7.githubusercontent.com
#151.101.100.133 avatars8.githubusercontent.com



3、可以直接访问​​github.com​​


​​




4、部分情况可能需要在cmd输入ipconfig /flushdns 刷新



如何破解github.com无法打开的难题?

本文共计572个文字,预计阅读时间需要3分钟。

如何破解github.com无法打开的难题?

博客文章内容摘要:- 博客文章主要涉及学习相关的书籍、培训课程和网络博客。- 目的是进行学习讨论,而非商业用途。- 包含博客截图、内容来源、书籍及培训课程信息。- 如有侵权,请联系我,我将立即删除相关链接。

博客文章部分截图及内容来自于学习的书本及相应培训课程以及网络其他博客,仅做学习讨论之用,不做商业用途。

* 如有侵权,马上联系我,我立马删除对应链接。

​

1、查ip

博客文章部分截图及内容来自于学习的书本及相应培训课程以及网络其他博客,仅做学习讨论之用,不做商业用途。

  • 如有侵权,马上联系我,我立马删除对应链接。

进入 ​​ip.chinaz.com​​​ ,分别输入​​github.com​​​ 和​​github.global.ssl.fastly.net​​可以查到两个ip


​​



2、修改hosts文件

进入C:\Windows\System32\drivers\etc
在末尾加入ip和网址(两个都加入)并保存


​​


#140.82.113.4 github.com
#52.74.223.119 www.github.com
#185.31.17.184 github.global.ssl.fastly.net
#github
#192.30.253.112 github.com
#151.101.113.194 github.global.ssl.fastly.net
20.205.243.166 github.com
203.98.7.65 gist.github.com
185.199.108.153 assets-cdn.github.com
185.199.111.133 raw.githubusercontent.com
185.199.110.133 gist.githubusercontent.com
185.199.111.133 cloud.githubusercontent.com
#151.101.100.133 camo.githubusercontent.com
#151.101.100.133 avatars0.githubusercontent.com
#151.101.100.133 avatars1.githubusercontent.com
#151.101.100.133 avatars2.githubusercontent.com
#151.101.100.133 avatars3.githubusercontent.com
#151.101.100.133 avatars4.githubusercontent.com
#151.101.100.133 avatars5.githubusercontent.com
#151.101.100.133 avatars6.githubusercontent.com
#151.101.100.133 avatars7.githubusercontent.com
#151.101.100.133 avatars8.githubusercontent.com



3、可以直接访问​​github.com​​


​​




4、部分情况可能需要在cmd输入ipconfig /flushdns 刷新



如何破解github.com无法打开的难题?