Failed to connect to github.com port 443: Timed out

Posted code1992

tags:

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

 

Git Clone下载仓库代码的时候,出现以下情况

Failed to connect to github.com port 443: Timed out

技术图片

 

 

解决办法:

输入

git config --global http.proxy http://127.0.0.1:1080

git config --global https.proxy http://127.0.0.1:1080

 

再git clone,就能正常下载代码

技术图片

 

 

 

参考:

IDEA连接Github时出现:Failed to connect to github.com port 443: Connection refused的解决方法

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

GlideException: Failed to load resource……java.net.SocketTimeoutException(failed to connect to xxx)

start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart:

Failed to connect to raw.githubusercontent.com

android 中Network error IOException: failed to connect to /127.0.0.1 (port 1433): connect failed: ECO

git使用Failed to connect to 127.0.0.1 port 1080: Connection refused

failed to connect to gitee.com port 443: timed out