Change tomcat port 8080 to 80

To solve the port occupation, change port 8080 to 80 to quickly open localhost:

Open the tomcat folder --> find conf --> server.xml --> open it with Notepad

turn up:


Change Connector port="8080" to 80 as shown in the figure above --> restart tomcat --> complete the port change --> directly enter localhost:80 next time and the following screenshot will appear:



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326355230&siteId=291194637