在centos下查看端口占用情况输入命令

lsof -i:8080(自己的端口号)

出现"-bash: lsof: command not found"

解决方案:

yum install lsof

安装即可

相关文章:

  • 2022-01-07
  • 2021-04-08
  • 2021-10-13
  • 2022-02-09
  • 2021-12-21
  • 2021-10-12
  • 2022-12-23
猜你喜欢
  • 2021-06-11
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案