Automic Community

Expand all | Collapse all

ErrorMsg: AwE-5125 No port available

Jump to Best Answer
  • 1.  ErrorMsg: AwE-5125 No port available

    Posted 10-31-2019 09:54 AM
    Unable to start Am using startso all
    Following error message displayed
    ErrorMsg: AwE-5125 No port available (10/31/19, 2:49 PM)
    Details: 10902-10902
    java.lang.RuntimeException

    -- Log  AgentService*.log

    it was working fine before without anyissues.

    ErrorMsg: AwE-5103 network socket error (10/31/19, 2:52 PM)
    Details: Network socket error
    java.io.EOFException
    at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2763)
    at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3258)
    at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:873)
    at java.base/java.io.ObjectInputStream.<init>(ObjectInputStream.java:350)
    at com.appworx.shared.code.server.B.C(RequestSocket.java:124)
    at com.appworx.agent.AgentSocketManager.A(AgentSocketManager.java:166)
    at com.appworx.agent.AgentSocketManager.A(AgentSocketManager.java:107)
    at com.appworx.agent.AgentService.A(AgentService.java:681)
    at com.appworx.agent.AgentService.<init>(AgentService.java:361)
    at com.appworx.agent.AgentService.main(AgentService.java:1017)




    Have any suggestions on this

    ------------------------------
    Thanks in Advance,
    Ansari
    ------------------------------


  • 2.  RE: ErrorMsg: AwE-5125 No port available
    Best Answer

    Posted 11-01-2019 12:45 PM
    Hi Ansari,

    A couple of possibilities-- Check the awenv.ini file and see what port is defined for the AWCOMM_PORT value. The default is 2136. then check if the AWCOMM_PORT is available on your system, and can be opened for use. If your system is a Linux installation you can use the command netstat -an | grep 2136 to find the port status.

    Another possibility is Agent Service cannot register an available port for some reason. It looks for a port number between 49152 and 65535 to communicate with the awcomm process. Either of these may be due to firewall issues or some other reason why the port cannot be found.

    Jim