My firewall is configured to deny all inbound and outbound traffic unless a rule says otherwise.
This answer suggests making rules for git.exe
, sh.exe
, and ssh.exe
. So I did. Even bash.exe
.
Still when I run git pull
I see:
fatal: unable to access 'https://joncom@bitbucket.org/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?
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: C:\Program Files\Git\mingw64\libexec\git-core\git-remote-https.exe
.
Edit: In fact I disabled the rules for git.exe
, sh.exe
, ssh.exe
, and bash.exe
, and still everything works, so they seem unnecessary for my purposes.