[git 使用]Failed to connect to proxy.server.com port 8080: Operation timed out

我clone远程代码是报错:

fatal: unable to access 'https://github.com/boomblog/AkkaDemo.git/': Failed to connect to 160.48.233.81 port 8080: Operation timed out

后来查看是否使用代理:git config --global http.proxy
然后取消代理:git config --global --unset http.proxy
然后再拉去则成功!

若还需要重设代理,则:git config --global http.proxy http://160.48.233.81:8080

再次查看是否使用代理:git config --global http.proxy
则配置代理成功
在这里插入图片描述

发布了143 篇原创文章 · 获赞 49 · 访问量 25万+

猜你喜欢

转载自blog.csdn.net/weixin_36586564/article/details/103698920