<h1>How to change the port of tomcat</h1>

Use case : You want run a java application in eclipse, the classic port 8080 of tomcat is already in use

 

Go to the directory conf of your tomcat directory,

Edit the file server.xml

Find the line <Connector port= »8080″ protocol= »HTTP/1.1″

and replace the port 8080 by the port of your choice.

Restart eclipse if necessary for take the change in account

 

Laisser un commentaire