Tomcat port reading and modification
In the conf folder under the installation path of Tomcat, find server.xml and
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