本文介绍: xxx.xx.xx.x 是你在网站查询到的IP,注意对应好后面的网址。将 /etc/hosts 复制到 home 下。正常关掉浏览器,重启电脑,OK,解决!

查询IP网址:  https://ip.chinaz.com/

主页如下:

分别查询以下三个网址的IP:

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

修改 hosts 文件:
将 /etc/hosts 复制到 home 下
sudo cp /etc/hosts ./
gedit hosts

在底下添加:
xxx.xx.xx.x github.com
xxx.xx.xx.x github.global.ssl.fastly.net
xxx.xx.xx.x assets-cdn.github.com
xxx.xx.xx.x assets-cdn.github.com
xxx.xx.xx.x assets-cdn.github.com
xxx.xx.xx.x assets-cdn.github.com

xxx.xx.xx.x 是你在网站查询到的IP,注意对应好后面的网址

正常关掉浏览器,重启电脑,OK,解决!

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注