解决 Failed to connect to 127.0.0.1 port XXXX: Connection refused问题

查看自己的代理,如果有设置,取消即可。注意https还是http,或者都取消算了


git config --global http.proxy
git config --global --unset http.proxy



git config --global https.proxy
git config --global --unset https.proxy

在这里插入图片描述
注意如果有人在这里开了代理,可能导致国内许多网站登录失败
在这里插入图片描述
关闭即可

猜你喜欢

转载自blog.csdn.net/weixin_44628096/article/details/142650497