sudo netstat -ntpl 查看占用80端口的进程号和进程名称。 lsof -p xxx(进程ID) |wc -l 查看该进程xxx使用的名柄数。 netstat -ntp |grep 端口号 查看使用该端口号的进程。