Checking port usage
You can check which ports are in use on the current server, to help investigate or prevent port conflicts.
To check which ports are in use on the current server, enter the following command:
netstat -aThe command returns a list of listening daemons and established connections.