-->
Skip to main content

Posts

Showing posts with the label Apache Tomcat Server

How to Change Port Number In Tomcat in 2021

How to Change Port Number In Tomcat in 2021 Everyday now and then developers face one problem that port 8080 is already in use thus we have to change the port number of our server, Today we will see how to change port number in tomcat. In the earlier tutorial, we have covered how to add tomcat server in eclipse . How to Change Port Number in Tomcat 1. How to Change Port Number in Tomcat Go to the directory where you have downloaded your tomcat server  For example : C:\Abhishek\Abhishek\java\servers\apache-tomcat-9.0.37 Now go to the conf folder   Apache Tomcat Server Path Now you will see server.xml file under conf folder as shown below Apache Tomcat Server XML Now opens the server.xml file and search for  port="8080" in server.xml file which will take us to this line.  Apache Tomcat Server Connector Port Now change the tomcat default port from 8080 to 9000 or any port you want above 7070 which is unique. Now this  will be lik e  Apache Tomcat Server C...