解决:Failed connect to raw.githubusercontent.com:443; 拒绝连接

发布于 2021-01-03 14:12:01

原因
由于某些你懂的因素,导致GitHub的raw.githubusercontent.com域名解析被污染了。

查询真实IP

https://www.ipaddress.com/查询raw.githubusercontent.com的真实IP。

通过修改hosts解决此问题

199.232.28.133 raw.githubusercontent.com

centos 7 修改hosts方法
编辑文件:vim /etc/hosts
追加:199.232.28.133 raw.githubusercontent.com
重启网络生效:/etc/init.d/network restart

0 条评论

发布
问题