Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.228.133|:443

问题描述: 执行sh -c "$(wget -d -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"下载ohmyzsh时报错:Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.228.133|:443

连接过程

Hinata% sh -c "$(wget -d -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Setting --output-document (outputdocument) to -
Setting --output-document (outputdocument) to -
DEBUG output created by Wget 1.19.4 on linux-gnu.

Reading HSTS entries from /home/Hinata/.wget-hsts
URI encoding = ‘UTF-8’
--2019-12-20 13:07:41--  https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.228.133
Caching raw.githubusercontent.com => 151.101.228.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.228.133|:443... Closed fd 5
failed: Connection refused.
Releasing 0x0000558e790306f0 (new refcount 1).

原因: 这不是连接超时, 也不是证书的问题, 这就是不让连接, 说明被qiang了

解决方法: 翻出去重新执行该命令就好了

发布了489 篇原创文章 · 获赞 101 · 访问量 15万+

猜你喜欢

转载自blog.csdn.net/littlehaes/article/details/103638711