Thank guys for the replies, sorry for the brief loss of faith. :) It would be nice to include this possible setup in the docs.
On 12/9/05, Carl Olivier <[EMAIL PROTECTED]> wrote: > Oh, and just to be a little more explicit :) > > You can of course have the same IP of various ports. > > If you do not specify address the connector will listen on all available Ips > on the specified port (which I think is where the confusion came in), so: > > <!-- same IP - different ports --> > <Connector address="192.168.0.2" port="80" /> > <Connector address="192.168.0.2" port="81" /> > <Connector address="192.168.0.2" port="8080" /> > > <!-- different Ips - same port --> > <Connector address="192.168.0.3" port="80" /> > <Connector address="192.168.0.4" port="80" /> > <Connector address="192.168.0.5" port="80" /> > > Hope that helps. > > Regards, > > Carl > > -----Original Message----- > From: Carl Olivier [mailto:[EMAIL PROTECTED] > Sent: 09 December 2005 15:26 > To: 'Tomcat Users List' > Subject: RE: Why only one Connector per Service? > > Hi. > > You can specify an address/port configuration per connector (yes you can > have multiple) for a single service. > > E.g. > > <Connector address="192.168.0.2" port="80" /> <Connector > address="192.168.0.3" port="80" /> <Connector address="192.168.0.4" > port="80" /> > > As long as each BIND event for that service is unique per connector (on an > address/port basis) you are fine. > > Remember that all Hosts within that Engine/Service will be accessible on all > the addresses/ports listened on in that Service. > > Regards, > > Carl > > -----Original Message----- > From: Vinny [mailto:[EMAIL PROTECTED] > Sent: 09 December 2005 15:07 > To: tomcat-user@jakarta.apache.org > Subject: Why only one Connector per Service? > > I am curious as to the reason there is only one connector for each service? > I have a machine with 3 IP addresses. 1 IP is being used by another program > running on port 80. That leaves me with 2 IPs that I can use for tomcat. The > standalone virtual host method that I have used in the past seems to assume > that tomcat will have exclusive use of 0.0.0.0:80 and that is obviously not > the case in my situation. I've seen solutions that entail using multple > <Service/> in the server.xml. Another solution would be to use a different > tomcat instance on each port. Are these the only options available for a > standalone tomcat config? > > tomcat 5.5.12 > jdk 1.5 > linux > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]