lsof -nP  | grep TCP | grep LISTEN

lsof -i :TCP

05-20 08:22