In situations where a computer has more than one network interface, you can use the same port number on each of these network interfaces. For example, if you are running a JIRA instance on port 8080, you might also want to run Confluence on port 8080. In this case, you have to specify the IP address of the network interface.
Change the server.xml
file by adding the element:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
address="192.168.1.1"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />
Also change the hostname from localhost to the relevant host name, in the file above, on the same IP.