netstat -anp | grep 【端口号】
[root@test-01 ~]# netstat -anp | grep 6665
tcp 0 0 0.0.0.0:6665 0.0.0.0:* LISTEN 1206503/nc
tcp6 0 0 :::6665 :::* LISTEN 1206503/nc
[root@test-01 ~] ~]# kill -9 1206503