first open cmd
Enter netstat -ano to find the port number that needs to be closed
close process by pid
taskkill /F /pid 你自己的pid
reason
The reason for this situation is that IDEA is closed directly without manually stopping the running service.