![](/img/trans.png)
[英]"Failed to connect to github.com port 443: Connection timed out" when pushing to remote repository
[英]curl: (28) Failed to connect to raw.githubusercontent.com port 443: Connection timed out
在我的系统 (linux) 上安装 FCL-CLI 时,我遇到了一个错误。 我使用的命令是: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
。 错误: curl: (28) Failed to connect to raw.githubusercontent.com port 443...NEED HELP!
在网络中设置 DNS 8.8.8.8 将解决此问题
请断开您系统的 wifi 并使用您的移动热点进行连接。 这绝对有效
尝试在 ubuntu 上安装 nvm 时遇到同样的问题。以下步骤解决了我的问题:
1) 使用打开 /etc/hosts 文件
$ sudo nano /etc/hosts
2) 输入您的密码。
3)在文件末尾添加如下IP地址:
185.199.108.133 raw.githubusercontent.com
4) 保存并关闭文件。
5)现在再次尝试安装。
使用 $ sudo nano /etc/hosts 打开 /etc/hosts 文件
然后添加以下 IP
185.199.108.133 raw.githubusercontent.com
保存并重新安装
在浏览器中使用 VPN 或 go 到 1.1.1.1,并使用 Cloudflare 的 WRAP。 为我工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.