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.
"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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.