• 微信公众号:美女很有趣。 工作之余,放松一下,关注即送10G+美女照片!

linux 查看端口号

开发技术 开发技术 3小时前 1次浏览
# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:8089            0.0.0.0:*               LISTEN      8892/nginx: master  
tcp        0      0 0.0.0.0:8090            0.0.0.0:*               LISTEN      8892/nginx: master  
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      8892/nginx: master  
tcp        0      0 0.0.0.0:8000            0.0.0.0:*               LISTEN      25885/WorkerMan: ma 
tcp        0      0 0.0.0.0:8001            0.0.0.0:*               LISTEN      25886/WorkerMan: wo 
tcp        0      0 0.0.0.0:6379            0.0.0.0:*               LISTEN      19304/./redis-serve 
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      8892/nginx: master  
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      11929/sshd          
tcp6       0      0 :::3306                 :::*                    LISTEN      9492/mysqld         
tcp6       0      0 :::6379                 :::*                    LISTEN      19304/./redis-serve 
tcp6       0      0 :::22                   :::*                    LISTEN      11929/sshd          
tcp6       0      0 :::8088                 :::*                    LISTEN      11191/java          
udp        0      0 0.0.0.0:68              0.0.0.0:*                           5010/dhclient 

程序员灯塔
转载请注明原文链接:linux 查看端口号
喜欢 (0)