一、打开IPAddress.com网站,查询下面3个网址对应的IP地址

github.com
assets-cdn.github.com
github.global.ssl.fastly.net

二、修改本地电脑系统hosts文件

windows:
C:\Windows\System32\drivers\etc 
linux:
/etc/hosts

直接在最后加入以下代码

192.30.253.112 github.com
151.101.184.133 assets-cdn.github.com
151.101.185.194 github.global.ssl.fastly.net

三、刷新系统dns缓存(Windows)

Linux跳过该步骤

用WIN+R快捷键打开运行窗口,输入命令:cmd并回车进入命令行窗口。
接着输入命令:ipconfig /flushdns回车后执行刷新本地dns缓存数据即可。

相关文章:

  • 2022-02-03
  • 2021-09-21
  • 2022-12-23
  • 2021-10-16
  • 2021-04-20
  • 2021-12-22
  • 2022-12-23
猜你喜欢
  • 2021-12-04
  • 2021-10-21
  • 2021-11-30
  • 2021-05-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案