Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 59706 invoked from network); 14 Apr 2003 16:43:34 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 Apr 2003 16:43:34 -0000 Received: (qmail 12138 invoked by uid 97); 14 Apr 2003 16:45:30 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 12130 invoked from network); 14 Apr 2003 16:45:30 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 14 Apr 2003 16:45:30 -0000 Received: (qmail 54302 invoked by uid 500); 14 Apr 2003 16:42:12 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 54254 invoked from network); 14 Apr 2003 16:42:11 -0000 Received: from unknown (HELO JTURNER) (207.86.123.243) by daedalus.apache.org with SMTP; 14 Apr 2003 16:42:11 -0000 Received: from JTURNER ([127.0.0.1]) by JTURNER with Microsoft SMTPSVC(5.0.2195.5329); Mon, 14 Apr 2003 12:42:14 -0400 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat 4.1, Standalone, Port 80, Coyote References: <20030414163548.86985.qmail@web20705.mail.yahoo.com> Message-ID: Content-Type: text/plain; charset=iso-8859-15; format=flowed From: John Turner Date: Mon, 14 Apr 2003 12:42:13 -0400 In-Reply-To: <20030414163548.86985.qmail@web20705.mail.yahoo.com> User-Agent: Opera7.03/Win32 M2 build 2670 X-OriginalArrivalTime: 14 Apr 2003 16:42:14.0346 (UTC) FILETIME=[CD9482A0:01C302A4] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You have to be root (super user) to bind an application to port 80 in the UNIX and Linux worlds. Any user can bind an application to a port number higher than 1024. John On Mon, 14 Apr 2003 09:35:48 -0700 (PDT), Dan Tarkenton wrote: > Hello all. I have configured Tomcat 4.1 to act as a standalone and to > handle requests submitted through port 80 on win2k pro platform. This > was obviously quite simple to do by editing the server.xml file. I > simply changed the standalone Service's Coyote Connector port from 8080 > to 80. Pretty simple. className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" > minProcessors="5" maxProcessors="75" enableLookups="true" > redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" > useURIValidationHack="false" disableUploadTimeout="true" /> However, I > tried to recreate this setup on Redhat 8.0. When I try to access > http://localhost/foo, I receive a "connection refused message". I did > not get this before on the linux machine when I had the port set to 8080 > (and I accessed http://localhost:8080/foo). I noticed that once I had > the port set to 80, and tried to start tomcat, that there were error > messages in the catalina.out log file. Basically the error stated > "SEVERE: Error Initializing endpoint. java.net.BindException: > Permission Denied:80" This would explain why I am getting "connection > refused" messages in my browser. What do I have to do to get tomcat to > bind to port 80? There must be some conflict. I have apache installed, > but it is not running. Perhaps apache has some lock or bind to port 80 > somewhere? I'm lost here in the linux world. Any help would be greatly > appreciated. Thanks. > > > --------------------------------- > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org