1、lsof -i:端口号

lsof(list open files)

2、netstat -tunlp |grep 端口号

t:tcp

u:udp

n:拒绝显示别名

l:仅显示listen的服务状态

p:显示建立相关链接的程序名

相关文章:

  • 2021-05-07
  • 2021-12-28
猜你喜欢
  • 2021-08-20
  • 2021-12-15
  • 2021-12-25
  • 2021-07-01
相关资源
相似解决方案