tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Two Tomcat 7.0 in the same Windows server 2008 instance, both appearing as port 80 for the clients?
Date Wed, 11 May 2011 19:09:46 GMT
Hash: SHA1


On 5/11/2011 2:35 PM, Brian Braun wrote:
> In Linux I have have more than one instance of Tomcat in the same Linux
> instance. It is as easy as installing each Tomcat with a different port
> (lets say, 8081 and 8082), and using IPTables NAT (and Tomcat host
> virtualization) to redirect some domains to some hosts inside a certain
> Tomcat, and some other domains in certain other virtual hosts inside other
> Tomcat. All the domains can use port 80 from the clients point of view, but
> inside are managed with different ports.

To the client, does each target look like it has a separate IP address?
Or, is iptables NAT smart enough to inspect the HTTP messages (even
SSL?) to route them?

I would think that it would be simpler to just have multiple IP
addresses and bind directly to port 80 on each of them.

If you are able to use multiple IPs, then the same technique will work
on Microsoft Windows... though I'm not sure why you'd want to run your
webapp on that platform :(

- -chris
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


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

View raw message