欢迎来到我的的博客园,祝大家学有所成,早点实现自己的人生理想。

Linux和Windows中查看端口占用情况

一、命令

netstat -lnt  或 netstat -tnlp

如:

 

二、较全

netstat -antulp

 

三、简单

ss -tanl  或 ss -tanlp

 

三、补充

  Windows中使用的命令是:netstat -ano

 

posted @ 2017-07-27 16:25  宋兴柱  阅读(688)  评论(0编辑  收藏  举报