1.4. After modifying the port number, you must restart Tomcat to take effect. For example, I modified it to "8090", and after opening it, you can see the latest port number here
2. 3. Find the Connector tag and modify the port attribute to the port number you want. Port number range: 1-65535
3. 2. Click to enter the conf directory under the Tomcat directory, find the server.xml configuration file and open it
4.1. First of all, you need to understand that the default port number of Tomcat is: 8080
5、
6、
7、