Network Port on SourceTree?

What network port does sourcetree use to connect to bitbucket using?

I have a proxy on the network i am currently working on and would like to know which port to unblock to allow this connection to work.

1 answer

1 accepted

0 votes
Accepted answer

It's the standardard ports for the respective protocols, so 80/443 for http/https and 22 for SSH.

So it would not be possible to pass trou the proxy? ... I would need to allow connections to bitbucket on the firewall.

You can configure your underlying hg/git to use a proxy server if you like, we don't expose this in the Preferences right now. In git you do this with the 'http.proxy' option in your .gitconfig, in hg it's the http_proxy.host variable.

SourceTree includes a bundled Git but you can use a system git if you want via Preferences > Git. Either way, your ~/.gitconfig applies.

Ah great. That is the natively installed git. Dose sourcetree come with its own version of git bundeled if you like or not?

So they both read from the same preferecences file being: ~/.gitconfig ?

Yes, git always reads this file regardless of where it's being called from or where it's located.

Thanks for the help and the insights steve. greatly appreciated...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

433 views 6 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you