解决github上的博客出现xxx.github.io已拒绝连接
需要手动修改hosts文件:win10系统,在C:\Windows\System32\drivers\etc 中。然后用notpad编辑hosts文件,在最后一行加入 ip xxx.github.io(ip为你的xxx.github.io的ip)
可以百度ipip.net在这个网站查询ip
然后打开powershell 输入clear -dnsclientcache 清除DNS缓存 然后网站就可以打开了
参考MelodyJerry的文章,感谢MelodyJerry。
...
原创
2020-08-29 15:53:26 ·
4483 阅读 ·
2 评论