Windows下 git: Failed to connect to 127.0.0.1 port 1080: Connection refused报错解决

问题

git无法拉取代码,报错:Failed to connect to 127.0.0.1 port 1081: Connection refused

解决

找到系统账户下.gitconfig文件,删除里面配置的代理,保存即可解决此问题
本人路径:C:\Users\Administrator\.gitconfig
如下图所示

解决问题参考地址

https://juejin.cn/post/6844904146743590920


尝试过之后仍然无法解决,

posted @ 2022-08-14 20:24  Gail_Hu  阅读(574)  评论(1)    收藏  举报