无法连接到bitbucket.org端口443:没有路由到主机 [英] Failed to connect to bitbucket.org port 443: No route to host
问题描述
当我尝试拉或推时,出现无法连接到bitbucket.org端口443:没有路由到主机的错误。
可以使用相同的存储库将其推送到我们的网络外部。
这可能是问题,因为它正常工作。
我得到同样的问题。 b
$ b
我尝试通过ppa更新git,重置.gitconfig,我检查了github repo获取克隆但没有bitbucket,我取消设置http和https代理,重新启动我的网络服务(键入终端 - '我的网络服务'),改变了我的笔记本电脑连接的网络。但是这一切都不适合我。
我通过将下面的行添加到主机(/ etc / hosts)文件中得到了修复
104.192.143.2 bitbucket.org
另一个解决方案我没有尝试使用代理克隆git,使用ssh通过代理连接到Bitbucket。
$ b
此解决方案也适用于下面的错误:
无法连接到bitbucket.org端口443:网络无法访问
I am getting error as Failed to connect to bitbucket.org port 443: No route to host when i try to pull or push. The same repositories are available to pull push outside our network. What could be the problem as it was working properly.
I got same issue.
I tried to update git by ppa, Reset .gitconfig,i checked github repo is getting clone but not bitbucket, i unset http and https proxy, restarted my network services(type in terminal - 'my network services'), changed the network that my laptop was connected. But none of this work for me.
i got fixed by adding below line to hosts(/etc/hosts) file
104.192.143.2 bitbucket.org
Another solutions i didn't tried are
using proxy for cloning git, Connecting to Bitbucket using ssh through proxy.
This solution will also work for the below error:
Failed to connect to bitbucket.org port 443: Network is unreachable
这篇关于无法连接到bitbucket.org端口443:没有路由到主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!