①用这个命令 查询正在使用此端口的应用 netstat -ano | findstr "8080" ②使用如下命令 输入PID(最后一位数字) 关闭应用,解决端口占用 taskkill /pid "4808" /F