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

Mac 亲测有用, 当输入 pod install 出错

终端输入, 找到 .gitconfig 隐藏文件:
~/admin/.gitconfig
注释掉出错网址

[http "https://github.com"]
#proxy = socks5://127.0.0.1:1080

WeChat65d6e76d8dd3dd3e2db6e76a7fb6cdbc.png

错误图片

12985996-5009a4dc1be98d3a.png

你可能感兴趣的:(解决Failed to connect to 127.0.0.1 port 1080: Connection refused 报错)