Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to connect to bitbucket.org port 443 after 11 ms: Connection refused

jiayuan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2023

Hi, just from today, suddenly can't git pull and push in comment line, my system is macOS Monterey 12.4 .

 

git clone https://username@bitbucket.org/workspace/rep.git

Cloning into 'rep'...

fatal: unable to access 'https://username@bitbucket.org/workspace/rep.git/': Failed to connect to bitbucket.org port 443 after 11 ms: Connection refused

 

ping bitbucket.org

PING bitbucket.org (127.0.0.1): 56 data bytes

64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.065 ms

64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.123 ms

64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.121 ms

64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.146 ms

^C

--- bitbucket.org ping statistics ---

4 packets transmitted, 4 packets received, 0.0% packet loss

round-trip min/avg/max/stddev = 0.065/0.114/0.146/0.030 ms

 

 

 

1 answer

1 accepted

2 votes
Answer accepted
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 17, 2023

The ping results you posted seem a bit unusual. It's showing that your system is trying to ping the loopback address (127.0.0.1), which is your own machine, not Bitbucket's server. This suggests there might be some network misconfiguration.

Have a look at /etc/hosts file or check your DNS.

jiayuan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2023

Hi, thanks very much for your reply, finally found the reason, is the DNS, use google's DNS 8.8.8.8 then everything works.

Like liang_feng3445 likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events