Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket Connection Refused: 443

I am trying to clone a bitbucket repository from my CentOS7 machine. I followed the Link to solve the issue, but no solution is working. 

The command I am trying to run is:

     git clone https://user@bitbucket.org/project/repository.git 

and the Error I am getting is:

     fatal: unable to access 'https://user@bitbucket.org/project/repository.git /': Failed connect to bitbucket.org:443; Connection refused

 

Can somebody please help me with the solution.

Is there anything be done from firewall side? 

 

1 answer

0 votes
Ana Retamal Atlassian Team Feb 07, 2018

Hi Vinay! If you have firewall blocking IPv6 traffic, you may need to update the firewall config to permit our IPv6 addresses, you can read What are the Bitbucket Cloud IP addresses I should use? for more info. Otherwise, if that's not possible, adding 104.192.143.3 bitbucket.org to your hosts' file could also work as an alternative workaround which will force your machine to use our IPv4 address instead.

You may follow this guide to add it to your hosts' file.

You can also read the comments at https://bitbucket.org/site/master/issues/12184/failed-to-connect-to-bitbucketorg-port-443 if you need more ideas.

Hope that helps!

Ana

Hi Ana,

I followed the link you asked me to, did following:

> Added 104.192.143.3 bitbucket.org into the hosts file. But No help.

> Added host route entry for 104.192.136.0/21 and 104.192.143.0/24, then I could ping the bitbucket.org. following is the result:

     [root@localhost siteadmin-xvelocity-ui]# ping bitbucket.org
     PING bitbucket.org (127.0.0.1) 56(84) bytes of data.
     64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.122 ms
     64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.083 ms

But when I am trying to clone a bitbucket repository, I am getting following error msg:

     

     Cloning into 'Dev_integration1'...

     fatal: unable to access 'https://user@bitbucket.org/project/repository.git /': Failed connect to bitbucket.org:443; Connection refused

I have the exact same issue. I made the same hosts file change and I still get the same error message.

Like Rafael Lopes Fonseca likes this

@YasirJawad  The issue was resolved. I had to whitelist all the IPs of bitbucket. that way it worked.

@Vinay Verma How were you able to whitelist all the IPs? Did you just add the IPv4 ranges to your hosts file?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

327 views 2 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you