Comment 5 for bug 730259

Revision history for this message
James Page (james-page) wrote :

Hi Abhinav

You should have received a warning from the tomcat6-create-instance command when using ports below 1024 (see output below):

ubuntu@ip-172-19-1-2:~$ tomcat6-instance-create -p 1000 -c 8005 tomcat
You are about to create a Tomcat instance in directory 'tomcat'
Warning: ports below 1024 are reserved to the super-user.
Type <ENTER> to continue, <CTRL-C> to abort.

It is possible for non-root users to bind to ports below 1024 using the authbind package (see man authbind for more details) - the main tomcat6 package has authbind as a dependency and can be configured to run on ports below 1024 if required.

I expect a similar approach could be applied to user instances of tomcat6 if required (but not recommended!)