netstat 只显示特定端口

netstat 默认隐藏知名端口, 使用http 替换 80 , mysql => 3306 , 8080=>webcache 等

 

知名端口查看本地:   /etc/services 文件

 

参考: 

https://serverfault.com/questions/373798/why-is-the-port-listed-only-in-the-specific-format-of-netstat

posted @ 2021-05-03 22:09  zbs666  阅读(367)  评论(0编辑  收藏  举报