2. Enter the command "netstat -ano" in the DOS window and press enter to check the current port occupation;
3. Find the port number used by Tomcat (default is 8080), check which process is occupying this port, and remember the process of pid;
4. Open the task manager and end the corresponding pid process.