After the website is deployed, in order not to include port 8080 or another port number in the access address, we usually change the port number to 80, while Port 80 can be left empty by default, therefore, the links we visit are much easier to see.
However, during the actual deployment time, port 80 is usually occupied. If port 80 is used and you want to use port 80, you can use the following method:
1. Open the command line window and run netstat-abn-> c:/80port.txt.
Enter the C drive, find the program pid that occupies port 80 in the 80 port.txt file, and write down the pid.
2. Open the Task Manager, click "View"/select a column, select "PID (process identifier)", and click the "process" tab to find the pid corresponding to port 80, you can see which program is occupied. (Usually IIS or Xunlei)
3. Change the port of the program and restart the program to make the change take effect.
4. Finally, change the tomcat port to 80.
Modify ate to modify port 80