Thanks for your reply. I'm still struggling to understand the syntax of configuring another connector..... wondering if copy-n-paste the connector section in server.xml and change the port value is enough.... too much things to read.... need some filter to filter out unnecessary thing and just give me the essential thing to understand for the current problem....
Did you mean/imply that even if I manage to "connect" Tomcat to the port I wanted, but if I don't use virtual hosts, both connectors would just serve the same webpages? On Thu, Mar 19, 2009 at 2:24 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Je suis la poubelle [mailto:laps...@gmail.com] > > Subject: How to make Tomcat serve/listen to one more port? > > > > Is it possible o make it listen to one more port, > > eg 12345, to serve HTTP? > > Just configure another connector for whatever ports you want. > > > it's suppose to serve a totally different web site at this new port. > > You'll want to utilize multiple <Host> elements: > http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html > > Set an <Alias> for each <Host> to the string value of the appropriate IP > address to catch requests coming in using that rather than the DNS name of > each host. >