Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't clone repo on Windows, yet fine from Arch

Maddie Jones
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2018

Hi there. I have a computer which I dual boot Windows 10 and Arch, but primarily use Windows because my Arch is slightly broken. I'm having troubles connecting to BitBucket over HTTPS using Windows yet no trouble using Arch, so I know it's definitely not a problem with my external network. I'd like to fix whatever problem this is, as it would be nice to be able to code on my more stable Windows OS.

When I try to clone my BitBucket repository while using Windows, I get `Failed to connect to bitbucket.org port 443: Connection refused`. When I do the exact same clone on Arch, no issue and it just clones properly. Most how-to guides for fixing such problems are Linux based and so aren't helpful for fixing the issue on Windows. Do you have any idea what's causing the problem, and/or some suggestions on how to fix it?

Note that I am connection via the git CLI through WSL, not through SourceTree, and I have no interest in using SourceTree.

1 answer

0 votes
jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 2, 2018

"Connection refused" implies that a firewall or proxy or other process is preventing your client from reaching Bitbucket in the first place. It's possible that there's something in WSL doing that, or something in Windows itself doing that.

I can't really help with the specific details of Windows or WSL networking, but try opening bitbucket.org in a browser on that system. If you can get the usual page, then Windows itself isn't blocking network traffic. WSL may also let you do something like `curl -vI https://bitbucket.org`, which will show verbose details of the connection and then any relevant HTTP headers (if the connection gets that far).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events