Home Tags About

Linux:查看进程监听的IP/Port

15 May 2014
linux admin

Run this command as root:

ss -nlput | grep ssh

P.S.:

-n
    no port to name resolution
-l
    only listening sockets
-p
    show processes listening
-u
    show udp sockets
-t
    show tcp sotckets