Git - fatal: Failed to connect to bitbucket.org port 443: Network is unreachable - Solved
When i was working on my project repository i found error "fatal: unable to access 'myrepo' Failed to connect to bitbucket.org port 443: Network is unreachable" few day ago. when i going to just git pull command i found error like as bellow:
fatal: unable to access 'https://hardik@bitbucket.org/hardik/setup_backend.git/':
Failed to connect to bitbucket.org port 443: Network is unreachable
But i try to solve it but nothing, at last i found solution i was use HTTPS for clone repo. But i need use SSH for git repo. So i changed remote HTTPS into ssh like as bellow:
git remote -v
git remote remove origin
git remote add origin git@bitbucket.org:hardik/setup_backend.git
And then i try to push and pull, it works, you can also try...
Hardik Savani
I'm a full-stack developer, entrepreneur and owner of ItSolutionstuff.com. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Laravel, Angular, Vue, Node, Javascript, JQuery, Codeigniter and Bootstrap from the early stage. I believe in Hardworking and Consistency.
We are Recommending you
- How to Remove File from Git Commit Before Push?
- How to Delete a Branch form GitHub Repository?
- How to Rename Branch Name in Git Command?
- How to Switch Branch using Git Command?
- How to Create a New Branch on GitHub?
- How to Clone Github Repository using Command Line?
- How to Ignore Wildcard Files Name in Git using Gitignore?
- How to Ignore Folder in Git using Gitignore?
- How to Ignore File in Git using Gitignore?
- How to Clone Laravel Project from Github on Server?
- How to ignore file permission (chmod) changes in git?
- Git - How to Find a Deleted File in Commit History?
- Git Remove Last Commit from Local Example
- How to remove current changes from local system in Git ?