首页 > 系统服务 > 详细

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

时间:2016-03-07 10:28:11      阅读:320      评论:0      收藏:0      [点我收藏+]

1.netstat -tunlp | grep ****  

 -t--tcp  -u--udp -l--listening -n --numeric -p--program -a--all

2.lsof -i :port 

list open file  -i  This option selects the listing of files any of whose Internet address matches the address specified in i.

 

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

原文:http://www.cnblogs.com/beautifulfish/p/5249511.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!