0

Iam getting the following issue while trying to clone the repository.

fatal: unable to access 'https://Tejaswikatha@bitbucket.org/activecubs_angularjs/activecubs-admin-angularjs.git/': Failed to connect to bitbucket.org port 443: Network is unreachable

Tejaswi katha
  • 29
  • 1
  • 17
  • Hope this help : [bitbucket error](https://bitbucket.org/site/master/issues/12184/failed-to-connect-to-bitbucketorg-port-443) – Ajay Singh Mar 22 '17 at 05:13
  • 1
    possible duplicate of [link](http://stackoverflow.com/questions/38606443/failed-to-connect-to-bitbucket-org-port-443-network-is-unreachable) – Ajay Singh Mar 22 '17 at 05:18
  • 1
    Possible duplicate of [Failed to connect to bitbucket.org port 443: Network is unreachable](http://stackoverflow.com/questions/38606443/failed-to-connect-to-bitbucket-org-port-443-network-is-unreachable) – David Rawson Apr 11 '17 at 08:24

2 Answers2

1

For UBUNTU:

  1. Open /etc/hosts file
  2. Add 104.192.143.3 bitbucket.org as a first line and save file

Now cloning will work.

Paul Karam
  • 4,052
  • 8
  • 30
  • 53
0

This may be caused by known issues trying to git push, pull, clone over IPv6.

You can force IPv4 by adding the following line to your hosts file (/etc/hosts on Linux, c:\windows\System32\drivers\etc\hosts on Windows):

104.192.143.1 bitbucket.org

In you have a newer git client (>2.8), you can also force IPv4 via the -4 or --ipv4 switch.