Bind stash to a specific interface?

We are going to host Stash on a linux machine with several virtual interfaces. How do I tell Stash to only bind to one of them?

Thanks

1 answer

1 accepted

2 votes
Accepted answer
Jason Hinch Atlassian Team Sep 16, 2012

Stash runs on top of tomcat so you should be able to edit the <STASH_INSTALL>/conf/server.xml file and add an address attribute to the connector tag. e.g.

&lt;Connector port="7990" address="127.0.0.1" protocol="HTTP/1.1"

will bind Stash to ONLY localhost.

Thanks for your help!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday 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 ...

185 views 3 6
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