raw.githubusercontent.com:443连接失败时如何解决

简介: raw.githubusercontent.com:443连接失败时如何解决

出现raw.githubusercontent.com:443基本上是因为墙。


有时访问的资源虽然能打开,终端仍旧打不开。这个时候,我们就可以将安装文件下载或复制到本地,再执行操作。


例:安装nvm时,就遇到了Failed to connect to raw.githubusercontent.com port 443: Connection refused。


curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.39.1/install.sh      
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

我们直接访问https://raw.githubusercontent.com/creationix/nvm/v0.39.1/install.sh,将安装文件的内容复制并在本地创建相应文件并执行即可。

安装完成后,进行验证,验证时一般要重启终端。

相关文章
|
网络协议
解决 curl: (7) Failed to connect to raw.githubusercontent.com port 443 ...
解决 curl: (7) Failed to connect to raw.githubusercontent.com port 443 ...
2813 1
|
10月前
mac安装homebrew失败:Failed to connect to raw.githubusercontent.com port 443: Connection refused
mac安装homebrew失败:Failed to connect to raw.githubusercontent.com port 443: Connection refused
|
10月前
|
网络安全 网络架构 Windows
使用Easy Connect连接不上服务器
使用Easy Connect连接不上服务器
1191 0
|
数据安全/隐私保护
记录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解决方案
|
Web App开发 网络协议 数据安全/隐私保护
Win系统 - 如何解决 ERR_PROXY_CONNECTION_FAILED 错误?
Win系统 - 如何解决 ERR_PROXY_CONNECTION_FAILED 错误?
2768 0
Win系统 - 如何解决 ERR_PROXY_CONNECTION_FAILED 错误?
|
关系型数据库 MySQL 数据库连接
[已解决]踩过的坑之mysql连接报“Communications link failure”错误
[已解决]踩过的坑之mysql连接报“Communications link failure”错误
|
Python
pip 安装库失败问题:Retrying (Retry(total=4, connect=None, read=None, redirect=None, status =None)),原因及解决办法
pip 安装库失败问题:Retrying (Retry(total=4, connect=None, read=None, redirect=None, status =None)),原因及解决办法
19116 0
|
Shell Ruby
mac 安装brew报错 Failed to connect to raw.githubusercontent.com port 443: Connection refused解决办法...
mac 安装brew报错 Failed to connect to raw.githubusercontent.com port 443: Connection refused解决办法...
763 0
|
关系型数据库 MySQL 网络安全
SQLSTATE [HY000] [2002]连接尝试失败-尝试从本地服务器连接到远程服务器时
SQLSTATE [HY000] [2002]连接尝试失败-尝试从本地服务器连接到远程服务器时
506 0
|
Ubuntu Linux
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed
1203 0
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed