How to modify the port in Tomcat

Find the server.xml file in the conf folder of Tomcat, and modify it according to your needs. (here is modified)

The port number occupied by Tomcat after opening: (generally changed to a number larger than 8080, do not occupy the port of the operating system)

Port numbers closed to Tomcat:

Guess you like

Origin blog.csdn.net/qq_44709970/article/details/123675967