1、netstat -tunlp,查看已使用的端口

2、netstat -tunlp | grep 8080,查询指定端口使用情况

 

3、netstat命令无法使用需要安装net-tools

yum install net-tools -y

 

posted on 2019-08-23 13:32  玄同太子  阅读(4867)  评论(0编辑  收藏  举报