How can I let Git push/pull through Windows 7 Firewall?
My firewall is configured to deny all inbound and outbound traffic unless a rule says otherwise.
This answer suggests making rules for
ssh.exe. So I did. Even
Still when I run
git pull I see:
fatal: unable to access 'https://email@example.com/joncom/my-repo.git/': Failed connect to bitbucket.org:443; No error
If I allow outbound connections by default, everything works.
What rule am I missing?
2 Solutions collect form web for “How can I let Git push/pull through Windows 7 Firewall?”
I needed to add a rule for
git-remote-https.exe because I’m authenticating via HTTPS, not SSH.
On new versions of git, this is located at:
Edit: In fact I disabled the rules for
bash.exe, and still everything works, so they seem unnecessary for my purposes.
I had the same problem but since I don’t have a git-remote-https.exe I needed to open the Ports for git. You need to open the ones described in this question here.