git相关问题2 Failed to connect to 127.0.0.1 port 15732 after 2090 ms: Connection refused

fatal: unable to access 'https://gitee.com/secularr/homework.git/':

Failed to connect to 127.0.0.1 port 15732 after 2090 ms: Connection refused

 

原因:查此端口无进程占用,怀疑之前某些时刻设置过代理,经过查询查询代理命令——

git config --global http.proxy

zhengty@Dell7590 MINGW64 ~/Desktop
$ git config --global http.proxy
http://127.0.0.1:15732
$ git config --global --unset http.proxy

回去Gitbash 继续执行

$ git push -u origin master

可顺利运行。 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章