1. Problem description: When IDEA is used, it prompts "port 8080 is occupied"
Description: The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.
2. Solution:
① Start---->Run---->cmd (window+R key combination), call up the command window
② Enter the command: netstat -aon|findstr 8080, it can be seen that the process with PID 7324 occupies the port
③ Enter the command: taskkill /f /t /im 7324