connect to host bitbucket.org port 22: Connection refused

Issue #9519 invalid
Anonymous created an issue

When pull or push to bitbucket alway error connect to host bitbucket.org port 22: Connection refused

Comments (28)

  1. Jamie McDevitt

    I got this error at work because I needed to configure git to use a proxy: git config --global http.proxy yourproxy:8080 git config --global https.proxy yourproxy:8080

  2. Karthik A Nagaraj

    did not work for me and I am still facing the issue.

    I am experiencing the issue on linux server and the connection is getting timed out.

    ssh -v git@bitbucket.org:

    OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016

    debug1: Reading configuration data /etc/ssh/ssh_config

    debug1: /etc/ssh/ssh_config line 19: Applying options for *

    debug1: /etc/ssh/ssh_config line 57: Applying options for bitbucket.org

    debug1: Connecting to altssh.bitbucket.org [xxx.xxx.xxx.xx] port 443.

    debug1: connect to address xxx.xxx.xxx.xx port 443: Connection timed out

    debug1: Connecting to altssh.bitbucket.org [xxxx:xxxx:xxxx::xxx] port 443.

    debug1: connect to address xxxx:xxxx:xxxx::xxx port 443: Network is unreachable

    ssh: connect to host altssh.bitbucket.org port 443: Network is unreachable

  3. Log in to comment