查看linux中某个端口(port)是否被占用

·
日常 no tag October 1, 2020

1.使用lsof

lsof -i:端口号查看某个端口是否被占用

请输入图片描述

2.使用netstat

使用netstat -anp|grep 80

请输入图片描述

  • typecho配置Robots.txt
  • 硬盘内部硬件结构和工作原理详解
取消回复

说点什么?

© 2023 Type boom
友链&RSS