解决 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

想安装ohmyzsh,报如下错误:

解决 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

参考 https://github.com/hawtim/blog/issues/10, 出错是由于DN污染。

解决方法:

1.  修改host,建议使用 switchhosts 方便 host 管理

2. 复制输入如下地址

199.232.68.133 raw.githubusercontent.com
199.232.68.133 user-images.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com

解决 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 

解决 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

上一篇:Kubernetes核心技术之Pod


下一篇:cad.net 点乘和叉乘_注释包含数学