How to run JIRA on a specific IP

Still need help?

The Atlassian Community is here for you.

Ask the community

 

The content on this page relates to platforms which are not supported. Consequently, Atlassian Support cannot guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.

Problem

JIRA needs to run on a specific IP address.

Resolution

  • Edit the server.xml used by Tomcat which runs JIRA
  • Find the connector you are currently using. The default one looks like:

    Stock connector
    <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true"/>
    
  • Add the address property like so:

    Stock connector
    <Connector address="127.0.0.1" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true"/>
    

    (info) Based on information at: http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Standard_Implementation and http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standard_Implementation

Last modified on Aug 20, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.