netstat allows you to view all tcp connection on your system.
netstat -an
To see all LISTENING ports, run
netstat -an | grep LISTEN
netstat allows you to view all tcp connection on your system.
netstat -an
To see all LISTENING ports, run
netstat -an | grep LISTEN