# 查询端口占用, 获得进程号 netstat -aon | findstr 8081 # 查询进程对应的程序(可选) tasklist | findstr 9088 # 直接杀掉进程(/F 强制关闭 /T包括子进程) taskkill /T /F /PID 9088