问题随记 —— 【Git】Failed to connect to 127.0.0.1 port 31181 after 2066 ms: Connection refused-繁依Fanyi

文章目录

问题描述

修改git代理后再运行git clone 时出现如下问题

Failed to connect to 127.0.0.1 port 31181 after 2066 ms: Connection refused

在这里插入图片描述

解决方法

  • 取消git代理
git config --global --unset http.proxy  
git config --global --unset https.proxy

输入以上命令 取消gitconfig中的http.proxy=127.0.0.1:1080或者https.proxy=127.0.0.1:1080

  • clone 成功

在这里插入图片描述

© 版权声明
THE END
喜欢就支持一下吧
点赞11 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容