当前位置:首页 > 操作系统 > Linux

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

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.

 

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


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐