1.idea右下角的event log 找到真正的端口号2.cmd打开命令行执行 netstat -ano|findstr 端口号 找到占用端口的进程3.杀进程taskkill -f -pid 进程端口