How to change the port being used by a Tomcat JVM

Home > Search > How-to
  by

The HTTP and HTTPS port being used by each JVM is listed in the JVMs catalina.properties file. The catalina.properties file is located in the tomcat_home/profiles/jvm_name/conf/ directory.

The HTTP or HTTPS port can be changed in the cataline.properties file, and then the JVM can be restarted for the change to take effect.

nio.http.port=8080
nio.https.port=8443

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments