一 查看使用某端口的進程lsof -i : 端口號sudolsof -i tcp:3000sudolsof -i :3000| grep LISTEN二 關閉某進程的命令sudokill -9 ?PID