Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 44780 invoked from network); 12 Aug 2005 16:35:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Aug 2005 16:35:02 -0000 Received: (qmail 83558 invoked by uid 500); 12 Aug 2005 16:34:46 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 83544 invoked by uid 500); 12 Aug 2005 16:34:46 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 83531 invoked by uid 99); 12 Aug 2005 16:34:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2005 09:34:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.146.60] (HELO ratemod.com) (68.142.146.60) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2005 09:35:06 -0700 Received: (qmail 4539 invoked from network); 12 Aug 2005 10:30:37 -0600 Received: from unknown (HELO main) (halcyon@ratemod.com@24.10.254.159) by 0 with RC4-MD5 encrypted SMTP; 12 Aug 2005 10:30:37 -0600 From: "David Erickson" To: "'Tomcat Users List'" Subject: RE: Listening on multiple ips Date: Fri, 12 Aug 2005 10:34:44 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcWfWbnQueaKMGg5RFym59K1dbUNswAAKCYwAABI7eA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 In-Reply-To: <5684A7E6FB10504393A2806C1F4C0210076CE2C5@orion.qas.com> X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20050812163508.0423210FB2B1@asf.osuosl.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I know, the problem is this is production environment and im still waiting for my firewall guy to get back to me on opening those ports up to the second ip, so really I couldn't have tested it, so I figured the next best thing would be to run it by the list to see if anyone else had done something like this. If I have a hostname (or multiple hostnames) pointing to say the second ip address, they will still be serviced by the host with the associated ip address correct? -David > -----Original Message----- > From: Allistair Crossley [mailto:Allistair.Crossley@QAS.com] > Sent: Friday, August 12, 2005 10:26 AM > To: Tomcat Users List > Subject: RE: Listening on multiple ips > > In the time it took you to write this email you could have tested this!! > ;o) Looks reasonable so long as you want to connect direct to Tomcat on > port 80 for each IP ... try it out and get back to us. > > Allistair. > > > -----Original Message----- > > From: David Erickson [mailto:halcyon@ratemod.com] > > Sent: 12 August 2005 17:20 > > To: tomcat-user@jakarta.apache.org > > Subject: Listening on multiple ips > > > > > > Hi I was just wondering what the best way to setup tomcat to listen to > > multiple ip addresses is? I have a box with 1 nic that has 3 > > ip addresses, > > the first address port 80 is in use by apache so I want it to > > listen on the > > 2nd and 3rd address. I also need to have different webapps > > be loaded for > > each of the addresses it is listening on. From looking at > > the conf file I > > was wondering if I can just create two connectors for each ip > > address ie: > > > > > maxThreads="150" minSpareThreads="25" > > maxSpareThreads="75" > > enableLookups="false" redirectPort="443" > > acceptCount="100" > > debug="0" connectionTimeout="20000" > > disableUploadTimeout="true" /> > > > > > maxThreads="150" minSpareThreads="25" > > maxSpareThreads="75" > > enableLookups="false" redirectPort="443" > > acceptCount="100" > > debug="0" connectionTimeout="20000" > > disableUploadTimeout="true" /> > > > > And then in the engine create two Host elements: > > > > > unpackWARs="true" autoDeploy="true" > > xmlValidation="false" xmlNamespaceAware="false"> > > > > > unpackWARs="true" autoDeploy="true" > > xmlValidation="false" xmlNamespaceAware="false"> > > > > > > Would this work? > > > > Thanks, > > David > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > > ------------------------------------------------------- > QAS Ltd. > Registered in England: No 2582055 > Registered in Australia: No 082 851 474 > ------------------------------------------------------- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.6/69 - Release Date: 8/11/2005 > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org