从远端仓库克隆或者推送本地代码到远端时出现:fatal: unable to access ‘https://xxx’: Failed to connect to 127.0.0.1 port 789: Connection refused.如下图所示:
解决方法:
在windows的编辑代理服务器中确认本地代理的端口号是多少
再在git中配置一下端口号
git config --global http.proxy http://127.0.0.1:7897
最后再克隆或者推送时就正常了: