tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Running Tomcat 3.2.3 (or 4.0) on a multi-homed machine.
Date Thu, 25 Oct 2001 15:11:07 GMT


On Wed, 24 Oct 2001, Prasanna Uppaladadium wrote:

> Date: Wed, 24 Oct 2001 15:43:52 -0400
> From: Prasanna Uppaladadium <prasanna@kirusa.com>
> Reply-To: tomcat-user@jakarta.apache.org
> To: tomcat-user@jakarta.apache.org
> Subject: Running Tomcat 3.2.3 (or 4.0) on a multi-homed machine.
>
> Hello.
>
> Is there a way to run Tomcat 3.2.3 or 4.0 so that the server will listen
> on a specific host interface (IP address)?
>
> For example, my machine has two IP addresses (123.123.123.123 and
> 111.111.111.111). I would like to run two instances of Tomcat on port 80
> each one listening on one of the interfaces respectively. I specifically
> don't want to use Virtual Hosting.
>
> The server.xml file on both versions of Tomcat seem to take a port
> parameter but not a host parameter.
>

Tomcat 4 supports the "address" parameter for this.  See the docs at:

  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html

> One way to solve this of course is to use Apache as a front for Tomcat.
> But I would like to use Tomcat as a standard alone web server if at all
> this is possible.
>
> Thanks for any help.
> Prasanna.
>
>
Craig McClanahan



Mime
View raw message