Mac Could not connect to 127.0.0.1:8081
今天拉代码时报错,经多方查证是由于代理导致的,但是网上很多解决方案都没有搞定这个问题。
后来采用一个方法解决了,特此记录:
通过命令查git设置列表:git config --global --list
发现所在问题:
继续搜索:
http.https://github.com.proxy=socks5????/127.0.0.1:1080
取消代理:git config --global --unset http.https://github.com.proxy
查看git设置列表:git config --global --list
取消代理:git config --global --unset http.https://github.com.proxy