Check the listening ports on the server

Use netstat to check with ports are listening on the machine.

jitsejan@jjsvps:~$ netstat -lnt | awk '$6 == "LISTEN"'