Windows

140 阅读1分钟

1、windows 查看端口占用:

netstat -ano
-- 查看被占用端口对应的 PID
netstat -aon|findstr "8081"

-- 查看指定 PID 的进程
tasklist|findstr "9088"

-- 结束进程
taskkill /T /F /PID 9088