tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pete <>
Subject Re: accessing servlets without a port number
Date Sun, 02 Sep 2001 07:27:28 GMT
You could also use ipchains or similar to foward requests on port 80 to 
some other port i.e. 8080 to avoid running tomcat as root.


>port 80 is the default port for http, so what you are wanting to do is
>have tomcat listen on port 80 instead of 8080.  to do this on a *nix box
>you'd need to run tomcat as root (for 3.x anyway - I believe 4.0 has a
>wrapper that does this properly), which isn't a good idea.  alternatively,
>if you are using apache as well, then you need to configure mod_jk. 
>a good place to start is the docs in the distribution - have a look at
>mod_jk, or edit server.xml and change 8080 to 80.
>On Fri, 31 Aug 2001, alex reuter wrote:
>>Hello List,
>>I'd like to access my servlets without using the port number, and I've seen
>>a whole bunch of config files and directives and I was wondering if anyone
>>could tell me exactly how its done, or point me to some solid documentation.
>>Oh, and if the answer to this question is staring me in the face, please
>>feel free to ridicule me.

View raw message