1.访问 https://www.ipaddress.com,输入域名github.com回车,如下图所示
2.复制ip地址,然后打开vhosts文件(C:\Windows\System32\drivers\etc\vhosts),把以下内容复制进去即可,ip换成上图显示ip。
140.82.113.4 github.com
3.重新访问github.com
1.访问 https://www.ipaddress.com,输入域名github.com回车,如下图所示
2.复制ip地址,然后打开vhosts文件(C:\Windows\System32\drivers\etc\vhosts),把以下内容复制进去即可,ip换成上图显示ip。
140.82.113.4 github.com
3.重新访问github.com