查看进程lsof

查看8000端口

lsof -i :8000

杀死进程

pkill —ns <pid>
原文地址:https://www.cnblogs.com/jackyshan/p/5126998.html