Github访问慢-修改Hosts秒变飞速

版权声明:Leo.All Rights Reserved. https://blog.csdn.net/qq_41113081/article/details/89388122

1.C:\Windows\System32\drivers\etc打开这个文件夹,会看到hosts文件

在这里插入图片描述

2.用记事本打开这个hosts文件,在最后添加如下两行并保存

192.30.253.112 github.com
151.101.185.194  github.global.ssl.fastly.net

3.刷新DNS缓存,打开cmd,输入ipconfig/flushdns

在这里插入图片描述

4.重启浏览器即可

猜你喜欢

转载自blog.csdn.net/qq_41113081/article/details/89388122