Following an update to the git repository the build for all branches of the repo get stuck 'checking out source code'.

There is a stuck 'git.exe' process on the server attempting to run `git.exe ls-remote' on the address '127.0.0.1:60460'.
Our git repo is running on Bitbucket Server on a different server, not on localhost.

If this 'git.exe' process is killed, the build picks up and runs as normal. I can see multiple other 'git.exe' command running successfully.
I cannot find where this particular instance of the command is getting the localhost address from. I've checked all the application links, and recreated them. As well as re-saving the linked repository, multiple times.
Bamboo version 6.9.2 build 60911 - 04 Jul 19, running on Windows 7.
--- [edit] ---
I also see system errors quite frequently from the same command.
