1、查询占用端口的PID netstat -ano | findstr "8092" 其中的536即为PID 2、执行kill命令 taskkill -F /pid 端口号 taskkill -F /pid 536