Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 22997 invoked from network); 29 Oct 2008 14:50:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Oct 2008 14:50:11 -0000 Received: (qmail 49249 invoked by uid 500); 29 Oct 2008 14:50:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 49226 invoked by uid 500); 29 Oct 2008 14:50:04 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 49215 invoked by uid 99); 29 Oct 2008 14:50:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2008 07:50:04 -0700 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,URIBL_RHS_DOB,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of doepain@gmail.com designates 216.239.58.184 as permitted sender) Received: from [216.239.58.184] (HELO gv-out-0910.google.com) (216.239.58.184) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2008 14:48:50 +0000 Received: by gv-out-0910.google.com with SMTP id n8so14871gve.39 for ; Wed, 29 Oct 2008 07:49:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:in-reply-to:mime-version:content-type:references; bh=oGvqJQU+QpNhOlISrqPLXAfqhBOO3YXXOP6KnhMMaYY=; b=cCz5IljE/MJ5qzcbPmGUsm9z5M+ZJ+67bYweLErLBTdsqcFYsVfj2+H2GsvnjdkwPf oaQcOoSOG0U3jhVeOkW21/R4ph7YF5iE14eUMZTnYIW6mr6FrXvkt/tqkBrTyTBqe/Uc S2EgN9HSud1hjlG33IvtOpqZPsmx32FaiKa0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version :content-type:references; b=tRYpV1iLqksVAWWhylEKjCkUggp+8yn5f8FNxe6LUWniVa6+AoyKZGanonhixFH+Db ldbPvP+ElvLcBSgyyeseO2AUTxMOxSUtW8x25WWzhBScTc1W6rOcSkBoOcbrqD4jYC+Q 2RNx5TNNktaRJlAMyNr1VhjY2uYE7lU24bYRo= Received: by 10.103.191.12 with SMTP id t12mr2740618mup.118.1225291758558; Wed, 29 Oct 2008 07:49:18 -0700 (PDT) Received: by 10.103.123.18 with HTTP; Wed, 29 Oct 2008 07:49:18 -0700 (PDT) Message-ID: Date: Wed, 29 Oct 2008 10:49:18 -0400 From: dOE Reply-To: doepain@gmail.com To: "Tomcat User-List" Subject: Re: How can I hard code the IP address on a single server with multiple Tomcat instances. In-Reply-To: <680cbe0e0810290640q767917e6t502705de1721f77e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_115472_33461227.1225291758547" References: <680cbe0e0810290617p14be04c7w3512fcb34b84076@mail.gmail.com> <680cbe0e0810290640q767917e6t502705de1721f77e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_115472_33461227.1225291758547 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Serge, Below are the values from both of my server.xml files. I specified the address that the port should listen on, and I am unable to open * http://192.168.100.2:8080* (GOOD!). When I attempt to open * http://192.168.100.2:8180* I get a 400, and *http://192.168.100.1:8180* the "request" returns "Page Cannot Be Found"(GOOD!). 192.168.100.1 has ports 8080, 8009 192.168.100.2 has ports 8180, 8109 The correct ports are open, its just that I can not open the site on 192.168.100.2 through Tomcat. Should I have only edited one server.xml, rather than hard coding the IP in both? (Server 1) 192.168.100.1 (Server 2) 192.168.100.2 On Wed, Oct 29, 2008 at 9:40 AM, Serge Fonville wrote: > Place inside a element connectionTimeout="20000" > redirectPort="443" > address="127.0.0.1"/> > and the output of netstat contains an entry for 127.0.0.1:80 instead of > the usual 0.0.0.0:80 > > Regards, > > Serge Fonville > > On Wed, Oct 29, 2008 at 2:31 PM, dOE wrote: > >> Serge thanks for the reply... >> >> so to hard code the IP its just a matter of ONLY adding > address=' >> 192.168.1.1'> ? >> >> The online document site does not give any syntax examples. >> >> On Wed, Oct 29, 2008 at 9:17 AM, Serge Fonville > >wrote: >> >> > There is an address attribute inside the connector that specifies the >> > address of the listening socket >> > http://tomcat.apache.org/tomcat-6.0-doc/config/http.html >> > http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html >> > >> > Hope this helps >> > >> > Regards, >> > >> > Serge Fonville >> > >> > On Wed, Oct 29, 2008 at 2:06 PM, dOE wrote: >> > >> >> I have a server that I am hosting multiple Tomcat servers from, and the >> >> issue I am running into is... - I have multiple IP's bound to the >> servers >> >> interface, Tomcat _1 has port 8080 specified as its connector port. >> The >> >> second Tomcat_2 has port 8180 set as its conector port in its >> server.xml, >> >> but regardless of these custom ports I am only able to reach Tomcat_1 >> >> through 8080, and 8180. Is it possible to hard code the IP you want >> that >> >> particular instance to listen on? >> >> >> > >> > >> > > ------=_Part_115472_33461227.1225291758547--