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
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.