Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Define tomcat ports

Gregor Schneider

2007-08-10

Replies:

afaik port 1 - 1024 are so-called privileged ports (at least in unix /
linux) which require superuser-right (root).

since it's not the best idea running tomcat as root, you'll be fine
choosing any port above 1024.

also, you should make sure not to choose a port that's already been taken.

in linux, a

netstat -lnp

will tell your which ports are no more available.

cheers

gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.