Linux下查看进程占用端口 查看程序对应进程号 : ps -ef|grep 进程名 查看进程号所占用的端口号: netstat -nltp|grep 进程号 查看端口号所使用的进程号: lsof -i:端口号