1、lsof -i:端口号

2、netstat -tunlp|grep 端口号