linux 查找端口占用并 停止进程

lsof -ti:3000 | xargs kill -9