git push origin master Connection timed out
生活随笔
收集整理的這篇文章主要介紹了
git push origin master Connection timed out
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
背景:win10的hper-v中裝了ubuntu虛擬機,虛擬機的網(wǎng)絡為手動代理。在進行g(shù)it操作時,出現(xiàn)下面錯誤:
git push origin master
fatal: unable to access 'https://chunxuwu@bitbucket.org/chunxuwu/myweb.git/': Failed to connect to 172.30.144.177 port 1080: Connection timed out
解決辦法:
git config --global http.proxy?http://192.168.43.144:1080
紅色部分為虛擬機中的:
參考:
https://blog.csdn.net/listener51/article/details/79505812
https://blog.csdn.net/libing_zeng/article/details/86361419
總結(jié)
以上是生活随笔為你收集整理的git push origin master Connection timed out的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python PIL 打开\显示\保存图
- 下一篇: 树莓派上传数据到onenet云平台