tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor.Po...@infomediarycorp.com
Subject RE: How to change Tomcat default port from 8080 to standard port 80?
Date Thu, 18 Oct 2001 18:19:27 GMT
You must change the port number in server.xml.

However you will need to run Tomcat as root to bind to this port. I don't
think you want to run Tomcat as root in a a production environment. As far
as I know there is no way to start Tomcat as root initially so that you can
bind to that port and then switch the user so that the porcess runs under
that user.

A solution is to use Apache as the server on port 80 forwarding requests
onto Tomcat. Apache lets you switch users after binding to port 80.

Conor.

-----Original Message-----
From: Miao, Franco CAWS:EX [mailto:Franco.Miao@gems7.gov.bc.ca]
Sent: Thursday, October 18, 2001 8:59 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: How to change Tomcat default port from 8080 to standard port
80?


How to change Tomcat default port from 8080 to standard port 80?

Thanks!

Franco 

Mime
View raw message