2. Find the file "server.xml" in the directory of "Tomcat7.0\conf" and open it with VS or other tools that can interpret xml files;
3. Find the coding port = "8080 ",change 8080 to 80, and click" Save "to finish the modification;
4. The server needs to be restarted after modification: click stop to stop the server, and then click start to start the server;
5. After restarting the server, open the browser, enter "http://localhost" in the address bar, and press enter to display.