Notes to check network ports

Show detailled list of listening processes

sudo lsof -nP -i | grep LISTEN

Useful to validate that a service is started and using the expected port.


Port Opened / Closed

nc -zv [remote-it] [remote-port]