tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chart <>
Subject newbie: multiple ports for same tomcat server 5.0
Date Thu, 21 Jan 2010 18:53:09 GMT

I have recently inherted a tomcat 5 server (today - do want want to upgrade
at this point).   There is a SSI server on the outside that sends request to
8009 for this tomcat server (from what I have been told).   The tomcat
server is running on port 8082.   I have been tasked to change this tomcat
server to accept request from 8082 when they are coming from the outside and
port 80 if you are inside the network.  The outisde goes from an address
that accepts the request on port 80 and then sends it to tomcat on port
8082.   The inside I would set DHCP to send directly to the tomcat server
and by pass the SSI server.   Therefore I need to allow this tomcat server
to listen on port 80 and port 8082.
I am including my server.xml file.  


<?xml version='1.0' encoding='utf-8'?>
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Resource auth="Container" description="User database that can be
updated and saved" name="UserDatabase"
    <ResourceParams name="UserDatabase">
  <Service name="Catalina">
    <Connector URIEncoding="UTF-8" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" port="8082"
redirectPort="8443" maxSpareThreads="75" maxThreads="150"
    <Connector port="8009" protocol="AJP/1.3"
redirectPort="8443" tomcatAuthentication="false">
    <Engine defaultHost="localhost" name="Catalina">
      <Host appBase="webapps" name="localhost">
        <Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_log." suffix=".txt" timestamp="true"/>
      <Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt" timestamp="true"/>
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message