Checking port usage
You can check which ports are in use on the current server, to help investigate or prevent port conflicts.
About this task
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.