端口号被占用俩种解决方案: 1、修改yml配置文件server.port,修改成其他端口。 2、使用cmd中断进程。 netstat -ano | findstr 端口号 taskkill -PID 端口号 -F