Failed to connect to github.com port 443 after 21060 ms: Timed out

作者: tww844475003 分类: 前端开发 发布时间: 2022-11-30 23:44

Failed to connect to github.com port 443 after 21060 ms: Timed out

gvim plug插件管理,安装插件总报错

直接用 git clone 又不报错,一直找不原因,今天终于解决了

git config --global --unset http.proxy

大概的意思是:取消代理


git代理设置方法解决

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

git config –global https.proxy https://127.0.0.1:1080

git config –global –unset http.proxy

npm config delete proxy

git config –global http.proxy ‘socks5://127.0.0.1:1080’
git config –global https.proxy ‘socks5://127.0.0.1:1080’

前端开发那点事
微信公众号搜索“前端开发那点事”

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注