Check the listening ports on the server

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

[email protected]:~$ netstat -lnt | awk '$6 == "LISTEN"'