Linux查看某一个端口监听情况

时间:2018-08-05 13:54:09   收藏:0   阅读:306

1.使用lsof 

 lsof -i:端口号查看某个端口是否被占用 
技术分享图片
2.使用netstat 
使用netstat -anp|grep 80 
技术分享图片

原文:https://www.cnblogs.com/peteremperor/p/9425099.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!