Github官网进不去怎么办?Github无法访问怎么办?

Github官网进不去怎么办?Github无法访问怎么办?

作者:fenlei3   2023-07-04 02:38:06  

详情

Github网站中有非常多的好用的实用工具和开源代码,对于一些技术人员来说,这个网站是非常好用的。但是,由于这个网站的服务器在国外,导致网页加载很慢甚至无法加载,下面小编就为大家讲解一下怎么快速的加载GitHub网站吧!

操作方法:

打开hosts文件,可能需要管理员权限。

win10 hosts位置:C:WindowsSystem32driversetc

在末尾新建一行,添加如下内容:

# GitHub Host

.26

.25

.154

.22

.133

.153 assets-

.133

.133 .net

.194 .

.4

.153

.3

.6

.133

.133 user-

.133

.133

.133

.133

.133

.133

.133

.133

.10

.177 github-.com

.147 github-.com

.12 github-production-release-asset-.com

.241 github-production-user-asset-.com

.49 github-production-repository-file-.com

.153

.201

.133

保存。

或者,也可以:

访问 /d/file/img//kkahakw4vto ,在输入框中填写 ,然后点击检测按钮,会列出响应ip,如图:

在hosts文件结尾输入:

# github

.119

.99

打开cmd窗口

执行 ipconfig /flushdns

刷新DNS缓存

完成,再访问就很快了。

请在电脑上注册登陆