Menu

Saturday, July 9, 2011

How to change the Tomcat default port?

Hope you have installed the tomcat on your system.
The folder structure of the tomcat server is

1.       By default the tomcat server port is 8080.
2.       To change the port, edit the server.xml file in the conf folder.
3.       Search for “8080” and change it to the port number that you wish.

4.       Restart the tomcat server.
5.       To verify the changes, just type http://localhost:xxxx on your web browser where xxxx stands for the port no.