Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 63967 invoked from network); 22 Sep 2002 13:09:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 Sep 2002 13:09:50 -0000 Received: (qmail 14168 invoked by uid 97); 22 Sep 2002 13:10:09 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 14116 invoked by uid 97); 22 Sep 2002 13:10:08 -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 14104 invoked by uid 98); 22 Sep 2002 13:10:07 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Sun, 22 Sep 2002 09:07:49 -0400 Message-ID: <3D87C345000041FB@mta07.san.yahoo.com> In-Reply-To: <3D8D8169.8090606@walding.com> From: hal@cartiem.com Subject: Re: How to use Port 80? To: "Tomcat Users List" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N thanks I looked back at the archieves and found out how to change the user to Ro= ot. I did that and it worked. I did find some other messages indicating wha= t you said, which was running as ROOT might be bad idea from a system admin= stration perspective. Unfortunately, I found no other way to run on Port 80. Is there another way? >-- Original Message -- >Reply-To: "Tomcat Users List" >Date: Sun, 22 Sep 2002 18:38:01 +1000 >From: Ben Walding >To: Tomcat Users List >Subject: Re: How to use Port 80? > > >You don't want to change /etc/services as it is simply a directory of >mappings between well known service names and ports. > >Tomcat runs as the user tomcat4 on RedHat 7.x. This user is unable to >bind to port 80. People have had success with changing the user to >root, but this is generally considered a bad way of doing things. > You'll want to check the mail archives as this has been discussed quite= > >a bit. > >hal@cartiem.com wrote: > >>I looked in /etc/services and found >>... >>ttp 80/tcp www www-http # WorldWideWeb HTTP >>http 80/udp www www-http # HyperText Transfer Pro= tocol >>... >> >>I'm not sure how got there unless it was just part of RedHat 7.3. Im not >>running Apache or any other web server. Im trying to use Tomcat4 as my= >>Web server. Should I change /etc/services and if so how? >> >>thanks again >> >> >> >>>-- Original Message -- >>>Reply-To: "Tomcat Users List" >>>From: "Arthur Chan" >>>To: "Tomcat Users List" >>>Subject: Re: How to use Port 80? >>>Date: Sat, 21 Sep 2002 23:50:41 -0400 >>> >>> >>>Normally that's the default - Apache (not Tomcat) uses it. >>>Look at httpd.conf , the "Listen" directive, should read something lik= e >>>192.168.4.5:80 ie the ip-addr:port >>>In default RH u will find that under /etc/httpd/conf >>>To look at a static list of port assignments : /etc/services >>>I am not sure what u r tyring to do , but I hope that's helpful. >>> >>>----- Original Message ----- >>>From: >>>To: "Tomcat Users List" >>>Sent: Saturday, September 21, 2002 11:36 PM >>>Subject: Re: How to use Port 80? >>> >>> >>> >>> >>>>not intentionally, how would I know if I did that? >>>> >>>> >>>> >>>>>-- Original Message -- >>>>>Reply-To: "Tomcat Users List" >>>>>From: "Arthur Chan" >>>>>To: "Tomcat Users List" >>>>>Subject: Re: How to use Port 80? >>>>>Date: Sat, 21 Sep 2002 23:34:53 -0400 >>>>> >>>>> >>>>>Could you have assigned 80 to HTTP requests already ??? >>>>> >>>>>----- Original Message ----- >>>>>From: >>>>>To: >>>>>Sent: Saturday, September 21, 2002 11:03 PM >>>>>Subject: How to use Port 80? >>>>> >>>>> >>>>> >>>>> >>>>>>Hi >>>>>> >>>>>>Im running Tomcat 4.1.10 on Red Hat 7.3. >>>>>> >>>>>>Im trying to change the port to 80 from 8080. >>>>>> >>>>>>I made the following change in my server.xml >>>>>> >>>>>>From: >>>>>> >>>>>>>>>>> port=3D"8080" minProcessors=3D"5" maxProcessors=3D"7= 5" >>>>>> enableLookups=3D"true" redirectPort=3D"8443" >>>>>> acceptCount=3D"10" debug=3D"0" connectionTimeout=3D"= 20000" >>>>>> useURIValidationHack=3D"false" /> >>>>>> >>>>>>to: >>>>>> >>>>>>>>>>> port=3D"80" minProcessors=3D"5" maxProcessors=3D"75"= >>>>>> enableLookups=3D"true" redirectPort=3D"8443" >>>>>> acceptCount=3D"10" debug=3D"0" connectionTimeout=3D"= 20000" >>>>>> useURIValidationHack=3D"false" /> >>>>>> >>>>>>then I restart Tomcat4 with the Service Configuration utility and >>>>>> >>>>>> >>I >> >> >>>get >>> >>> >>>>>>the following message in the browser when I go to http://localhost >>>>>> >>>>>>An error occured while loading http://localhost/: >>>>>> >>>>>>Could not connect to host localhost >>>>>> >>>>>>Thanks in advance for any help >>>>>>Hal Haig >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>-- >>>>>>To unsubscribe, e-mail: >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>>For additional commands, e-mail: >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>-- >>>>>To unsubscribe, e-mail: >>>>> >>>>> >>> >>> >>> >>>>>For additional commands, e-mail: >>>>> >>>>> >>> >>> >>> >>>>-- >>>>To unsubscribe, e-mail: >>>> >>>> >>> >>> >>> >>>>For additional commands, e-mail: >>>> >>>> >>> >>> >>> >>>-- >>>To unsubscribe, e-mail: >>>For additional commands, e-mail: >>> >>> >>> >> >> >>-- >>To unsubscribe, e-mail: >>For additional commands, e-mail: >> >> >> >> > > > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: