You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ryan McCain <Ry...@dss.state.la.us> on 2004/07/01 22:50:49 UTC

Change to Port 80

How do I configure Tomcat to run on port 80 as opposed to 8080? I
changed a few parameters in the xml config file, but nothing seemed to
have took.
OS=SUSE Linux
Tomcat=4.x

Thanks,
Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Change to Port 80

Posted by QM <qm...@brandxdev.net>.
On Thu, Jul 01, 2004 at 03:50:49PM -0500, Ryan McCain wrote:
: How do I configure Tomcat to run on port 80 as opposed to 8080?

This has been discussed at length (some would say, ad nauseam) in the
archives.  

There are several ways to do it, based on your needs and preferences.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Change to Port 80

Posted by Mark Lowe <ma...@boxstuff.com>.
was apache already running on linux by any remote chance?
did the log say that 80 was already in use?


On 2 Jul 2004, at 00:01, Steve Beaman wrote:

> I'm also on Linux,
> and when I tried to
> mod 8080 to 80 via "vi",
> it crashed the server at startup.
>
> I finally gave up, made the mods
> on a Windows box, copied to Linux,
> and it all worked.
>
> Beats me.
>
> ----- Original Message -----
> From: "Ryan McCain" <Ry...@dss.state.la.us>
> To: <to...@jakarta.apache.org>
> Sent: Thursday, July 01, 2004 1:50 PM
> Subject: Change to Port 80
>
>
>>
>> How do I configure Tomcat to run on port 80 as opposed to 8080? I
>> changed a few parameters in the xml config file, but nothing seemed to
>> have took.
>> OS=SUSE Linux
>> Tomcat=4.x
>>
>> Thanks,
>> Ryan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Change to Port 80

Posted by Yanbin Ma <ym...@competitrack.com>.
Did you run tomcat from root? I am running AIX, I remember somewhere it
says you must be root in order to start a program using port 80.

Hope it helps.

Yanbin

-----Original Message-----
From: Steve Beaman [mailto:steveb@altura.com] 
Sent: Thursday, July 01, 2004 6:01 PM
To: Tomcat Users List
Subject: Re: Change to Port 80

I'm also on Linux,
and when I tried to
mod 8080 to 80 via "vi", 
it crashed the server at startup.

I finally gave up, made the mods 
on a Windows box, copied to Linux,
and it all worked.

Beats me.

----- Original Message ----- 
From: "Ryan McCain" <Ry...@dss.state.la.us>
To: <to...@jakarta.apache.org>
Sent: Thursday, July 01, 2004 1:50 PM
Subject: Change to Port 80


> 
> How do I configure Tomcat to run on port 80 as opposed to 8080? I
> changed a few parameters in the xml config file, but nothing seemed to
> have took.
> OS=SUSE Linux
> Tomcat=4.x
> 
> Thanks,
> Ryan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Change to Port 80

Posted by Steve Beaman <st...@altura.com>.
I'm also on Linux,
and when I tried to
mod 8080 to 80 via "vi", 
it crashed the server at startup.

I finally gave up, made the mods 
on a Windows box, copied to Linux,
and it all worked.

Beats me.

----- Original Message ----- 
From: "Ryan McCain" <Ry...@dss.state.la.us>
To: <to...@jakarta.apache.org>
Sent: Thursday, July 01, 2004 1:50 PM
Subject: Change to Port 80


> 
> How do I configure Tomcat to run on port 80 as opposed to 8080? I
> changed a few parameters in the xml config file, but nothing seemed to
> have took.
> OS=SUSE Linux
> Tomcat=4.x
> 
> Thanks,
> Ryan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Change to Port 80

Posted by Hassan Schroeder <ha...@webtuitive.com>.
Ryan McCain wrote:

> How do I configure Tomcat to run on port 80 as opposed to 8080? I
> changed a few parameters in the xml config file, but nothing seemed to
> have took.

The <Connector> element contains a "port" attribute. Shouldn't be
hard to grep '8080' in server.xml and change it :-)

-- 
Hassan Schroeder ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org