Quickly change Tomcat port to the one you need.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeCv_OomMh3dkpC9GzhOiEvE0o3R1HK6kt5t_DTwIDwUskLHcA39XflbJG2K1QFU8cWEF7G9pLyVnP9n3zhB7KmOqTSc2BNeiYQWQgoMWquJ24oDXBk36m0A4RPddg1-5T7bob6Q/s1600/tomcat.gif)
Here we’ll be using label <CATALINA_HOME> to denote the folder where Tomcat is installed. In our systems, tomcat is installed in the following path.
<CATALINA_HOME>=C:\Java\Tomcat_x.x
We need to edit the file named server.xml inside <CATALINA_HOME>\conf folder.
In the server.xml file; locate the following segment.
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="8080" … />
<Connector port="8081" … />
COMMENTS