Tomcat port reading and modification

Tomcat port reading and modification

In the conf folder under the installation path of Tomcat, find server.xml and
Insert picture description here
open server.xml, find a piece of code in the figure below, and the port = “8080” in it represents the default port number of Tomcat, modify the value of 8080 You can successfully change the default port number of Tomcat, here changed to 8090
Insert picture description here

Published 3 original articles · Likes0 · Visits12

Guess you like

Origin blog.csdn.net/StarSky_boy/article/details/105357358