1. lsof

  1. lsof -i:端口号

image.png

2. netstat

  1. netstat -tunlp | grep 端口号

image.png