My app needs to be viewed using :8080 behind the domain. I want it be viewable without using adding any port behind. I've research on google and many said about edit the server.xml file but the problem is I can't located the file no mater what Can anyone kind enough to help? Thanks
What Tomcat version are you using? When it was installed was the TOMCAT_HOME environment variable configured? This usually points the Tomcat home directory. The server.xml file resides in the $TOMCAT_HOME/conf directory.
Running Tomcat on port 80 requires other considerations and should be carefully thought out. Do you have a web server (Apache) already installed? If yes, then it is already using port 80. If this is the case then one solution is to used mod_jk2 or mod_proxy and front-end the Tomcat server with Apache.
As a side note: ports below 1024 are privileged and only root may bind to these ports. Running Tomcat as root is discouraged since it has security implications.
Last edited by stahightech; 11-01-2009 at 03:57 AM.