ss(8) -tlpn
another utility to investigate sockets
-t, --tcp
       Display TCP sockets.
-l, --listening
       Display only listening sockets (these are omitted by default).
-p, --processes
       Show process using socket.
-n, --numeric
       Do not try to resolve service names.
source manpages: ss