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

可順利運行。 

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