Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 20520 invoked from network); 9 Sep 2008 13:44:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Sep 2008 13:44:00 -0000 Received: (qmail 86593 invoked by uid 500); 9 Sep 2008 13:43:44 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 86569 invoked by uid 500); 9 Sep 2008 13:43:44 -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 86551 invoked by uid 99); 9 Sep 2008 13:43:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2008 06:43:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.85.38.174] (HELO popeye.combios.es) (212.85.38.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2008 13:42:46 +0000 Received: from [192.168.250.50] (p549EA5BC.dip0.t-ipconnect.de [84.158.165.188]) (authenticated bits=0) by popeye.combios.es (8.13.8/8.13.8/Debian-3) with ESMTP id m89Dh8EA004314 for ; Tue, 9 Sep 2008 15:43:08 +0200 Message-ID: <48C67D13.4000102@ice-sa.com> Date: Tue, 09 Sep 2008 15:41:39 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Running Tomcat as a Service on Non-default port References: <50edd3480809090633r4041d9dfhd807f70824ef7984@mail.gmail.com> In-Reply-To: <50edd3480809090633r4041d9dfhd807f70824ef7984@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on popeye.combios.es X-Virus-Scanned: ClamAV 0.92.1/8200/Tue Sep 9 13:27:54 2008 on popeye.combios.es X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-97.9 required=2.5 tests=RCVD_IN_PBL, RCVD_IN_SORBS_DUL,USER_IN_WHITELIST autolearn=no version=3.2.3 Kamal Sheikh wrote: > Hi, > > I am using Tomcat v 5.5.23 and want to run the server as a Windows service > (tomcat5.exe) on a port other than the default port of 8080. Is it possible > to install Tomcat as a service and configure it so that it runs on a > different port? > > While we can configure Tomcat and run it on a different port when we are in > console mode (startup.bat or catalina run), but as a service it doesn't seem > possible to change the default port. > > Any help will be appreciated. > > Thanks. > That's a really easy one, even I can answer : In your Tomcat installation directory, look for the subdirectory "conf", and in it the file "server.xml". Locate this bit : and change it to : (i.e. the port= attribute, whatever it is and whatever you want). Then start (or restart) the Tomcat service. Andr� --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org