Failed to connect to github.com port 443:connection timed out

一、问题描述

  在进行 git clone 时,不知咋回事发现:Failed to connect to github.com port 443: Connection timed out,clone 不下来了,如下图所示:
在这里插入图片描述

二、问题解决

  在终端输入,配置全局代理

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

  问题得以解决:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_38429958/article/details/126241052