Linux查看并杀死被占用的端口 安装lsof sudo apt-get install lsof 查找对应的进程号 sudo lsof -i:端口号 查找对应的进程号 sudo kill -9 进程号