The agent fails to start or terminates shortly after startup. The log file shows a java.net.BindException indicating that the configured port is already occupied by another process.
The agent log contains the following error stack:
U02000328 Unexpected error on listen port occurred, reason '2300', position 'java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:2300'.
U00045014 Exception 'java.io.IOException: "java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:2300"' at 'com.automic.agent.jetty.server.WebSocketServer.open():51'.
U00045015 The previous error was caused by 'java.io.IOException: "Failed to bind to 0.0.0.0/0.0.0.0:2300"' at 'org.eclipse.jetty.server.ServerConnector.openAcceptChannel():349'.
U00045015 The previous error was caused by 'java.net.BindException: "Address already in use: bind"' at 'sun.nio.ch.Net.bind0()'.
U02000041 Shutdown Agent 'Agent_Name'.
U02000010 Connection to Server 'AE_Server/<unresolved>:8443' terminated.
U02000002 Agent 'Agent_Name' version '24.4.2+hf.1.build.1759570320937' ended abnormally.
ucxjwx6.ini)ucxjlx6.ini)The port specified in the agent's INI file is already in use by another service or another instance of the agent.
netstat -ano | findstr "PORT"netstat -nap | grep PORTucxjwin.ini or ucxjlx6.ini).[TCP/IP] section.port= parameter to an available port number.For more information on INI configurations, see the .
All the ports in use can be found with the netstat command:
netstat -ano | findstr "2300 PID"This delivers the following result:
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:2300 0.0.0.0:0 LISTENING 2472
TCP [::]:2300 [::]:0 LISTENING 2472In this particular case, Port 2300 is already in use by another Windows agent.