问题解决curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused

Posted 看,未来

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了问题解决curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused相关的知识,希望对你有一定的参考价值。

由于某些原因,不知道。

1、通过这个网站查询可用 IP:https://ipaddress.com/website/raw.githubusercontent.com
2、vim /etc/hosts
3、添加一行:【查询到的任一 ip 】raw.githubusercontent.com
4、保存退出,如果 curl 还是不行,用 wget,不要死脑筋。

以上是关于问题解决curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused的主要内容,如果未能解决你的问题,请参考以下文章

电脑一直出现curl upload mz file failed怎么解决?

curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused

curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused

问题解决[kubelet-check] The HTTP call equal to ‘curl -sSL http://localhost:10248/healthz‘ failed wite

问题解决[kubelet-check] The HTTP call equal to ‘curl -sSL http://localhost:10248/healthz‘ failed wite

MacOS安装brew报错:curl: Failed to connect to raw.githubusercontent.com port 443: Connection refused((代码