Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André,

On 3/18/2009 5:09 PM, André Warnier wrote:
1) you cannot run two http servers listening on the same port(s), on the
same host.

Just to be clear, you /can/ bind to the same port more than once on the
same host if you have multiple IPs: you can bind to different IP
addresses using the same port. Presumably, your DNS records won't point
to two IPs that do different things, though.

My, you're in a nitpicking mood today.
First, URL-encoded HTTP header values, now this..

OP, just for the sake of absolute correctness, Chris is right. Remember, for the future, that you /could/ give your host two different IP addresses, and two different corresponding DNS hostnames, and that this would allow you to run two different Tomcats listening on the same ports on the same physical host. You could also of course install an Apache httpd in front of your Tomcats, and through the judicious use of connectors and/or proxying and URL rewriting rules, even manage to have the two different Tomcats /appear/ to respond on the very same port and IP address, while in reality they wouldn't.

But since by now you already have two proposed setups, one based on the zip version and the other on the exe installer, let's keep things simple and practical for now, shall we ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to