Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 65439 invoked from network); 4 Nov 2009 09:30:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Nov 2009 09:30:18 -0000 Received: (qmail 90806 invoked by uid 500); 4 Nov 2009 09:30:15 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 90732 invoked by uid 500); 4 Nov 2009 09:30:14 -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 90721 invoked by uid 99); 4 Nov 2009 09:30:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 09:30:14 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.67.29.23] (HELO smtprelay09.ispgateway.de) (80.67.29.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 09:30:09 +0000 Received: from [217.111.50.100] (helo=tclx.cataneo.buero) by smtprelay09.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1N5cBW-0002M1-OB for users@tomcat.apache.org; Wed, 04 Nov 2009 10:29:46 +0100 Date: Wed, 4 Nov 2009 10:29:45 +0100 From: Tobias Crefeld To: users@tomcat.apache.org Subject: Re: Tocat webapp listening on different port Message-ID: <20091104102945.526d58a1@tclx.cataneo.buero> In-Reply-To: <4AF13ECA.90204@iminholding.com> References: <4AF13ECA.90204@iminholding.com> Organization: Cataneo GmbH X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.4; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Df-Sender: tc@cataneo.de Am Wed, 04 Nov 2009 09:43:54 +0100 schrieb Sergio Arrighi : > Is it possible to have a tomcat webapp listening on a port different > from the port which is in use by the server itself?? > Example: > I have a tomcat server listening on port 80 and I want the 'A' webapp > to be listening on port 10000. AFAIK it is not possible to setup 2 http-connectors for one tomcat, but you can install another tomcat in its own JVM with other port- and/or IP-address-assignments with a coyote-connector listening to Port 10000. Or you install a proxy or Apache2 with mod_proxy_ajp or mod_proxy_http to offer an access via port 80 to tomcat and change tomcats coyote-connector to Port 10000. Of course this will only give you two different ways to connect to the same tomcat (and both applications) but you can control access by using valves in tomcat and ProxyPass-settings in Apache2. RU, Tobias. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org