Bind stash to a specific interface?

David_Michael September 13, 2012

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
Answer accepted
jhinch _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 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.

David_Michael September 23, 2012

Thanks for your help!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events