Friday, August 17, 2012

Linux: How to find out the port number that DAC Server is using?

Have you faced issues when trying to restart DAC server? One of the reasons being there is already a server running on port 3141.
The solution of this is to bring down the java process running on Linux machine and start the DAC server. For this we need to find out the java process and it's PID, the below command will help us to locate it.

ps -aef | grep <user>

Where <user> is the user that is running the DAC server