git merge master into child branch — June 27, 2017
Git rollback to commit id — May 11, 2017
Git error :-Updates were rejected because a pushed branch tip is behind its remote — February 17, 2017
Failed to connect to port 443: Network is unreachable — August 7, 2016

Failed to connect to port 443: Network is unreachable


I got this error when I was trying to clone a Bitbucket repo on ubuntu. After searching for few hours and reading this link I found a solution. I had to read the complete discussion up to bottom. But now you don’t need to read the full article on bitbucket .

Simple solution step by step

Step 1:- ping

you will see response like this

64 bytes from ( icmp_seq=1 ttl=51 time=354 ms
64 bytes from ( icmp_seq=2 ttl=51 time=350 ms is the ip address that we need.

Step2:- Now we need to edit host file. In ubuntu use this command

sudo nano /etc/hosts

to reach your  host file. And paste line like this

Now save hosts file and that’s it.

Now try to push or clone bitbucket repo , you will definitely get suceess. Hoping this may save your time 🙂 .