How to Check if a Port Already in Use

If a user cannot access the Sentinel LDK-EMS site and, in the Services screen, the Sentinel LDK-EMS Service status is marked as Started, the HTTP/HTTPS port for Sentinel LDK-EMS may be in use by another application. You can troubleshoot to check and fix port conflicts.

To check if a port conflict exists:

Check the Sentinel LDK-EMS log files catalina.YYYY-MM-DD.log and sentinelems-stderr.YYYY-MM-DD.log, where YYYY-MM-DD is the date on which Sentinel LDK-EMS Service was started. By default, the log files are stored in:

%EMS_HOME%\EMSServer\webapps\ems\log\

If the log files show a “JVM binding” issue, this indicates that the port used by the Sentinel LDK-EMS web application is in use by another application.

To resolve a port conflict:

Use the Netstat command to identify which application has occupied the required port.

Do one of the following:

>Stop the conflicting application as follows:

a.Open the command prompt and enter netstat -aon | findstr "8080". The relevant process ID (PID) is displayed.

b.End the conflicting process:

i.Open Windows Task Manager.

ii. In the Processes tab, click View > Select Columns.

iii. Choose PID and click OK.

iv. Select the process with the relevant PID and click End Process.

c.Restart Sentinel LDK-EMS Service.

>Configure Sentinel LDK-EMS to use a different port.

>Configure the blocking application to run on a different port.

>Remove and then reinstall Sentinel LDK-EMS (removal does not remove the Sentinel LDK-EMS database).