tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Stringer <>
Subject Re: one application on different port
Date Mon, 21 Aug 2006 14:26:10 GMT
On Mon, 2006-08-21 at 07:20 -0700, tamri wrote:
> I have  one application and use tomcat 5.0.
> I want to run this application on different port , on 8080 and  8082
> independently each other.
> I configure in tomcat this two connector with ports 8080 and 8082.
> how can I configure tomcat  to run one application on different ports
> indepedently.

One way to do this is to modify server.xml so there are two <service>s
running in the one <server>. This then allows you to define independent
<Connector> settings for each <service>, and each <service> can also
have independent webapps areas. Make sure each <service> uses different
ports to the other (eg. 8080 vs. 18080, 8009 vs 18009, 8443 vs 18443).

Let me know if you need an example conf.

Cheers, Ben

Ben Stringer =====

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message