Receive "Cannot assign requested address" error starting JON Agent when invalid Agent host name, IP address, or TCP port are provided
Issue
- I just installed the JON Agent and am receiving the below error when trying to start it:
Failed to start the agentjava.net.BindException: Cannot assign requested address at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:170) at org.jboss.remoting.transport.socket.SocketServerInvoker.createServerSocket(SocketServerInvoker.java:264) at org.jboss.remoting.transport.socket.SocketServerInvoker.start(SocketServerInvoker.java:193) at org.jboss.remoting.transport.Connector.start(Connector.java:324) at org.rhq.enterprise.communications.ServiceContainer.setupServerConnector(ServiceContainer.java:1226) at org.rhq.enterprise.communications.ServiceContainer.start(ServiceContainer.java:550) at org.rhq.enterprise.communications.ServiceContainer.start(ServiceContainer.java:468) at org.rhq.enterprise.agent.AgentMain.startCommServices(AgentMain.java:2148) at org.rhq.enterprise.agent.AgentMain.start(AgentMain.java:636) at org.rhq.enterprise.agent.AgentMain.main(AgentMain.java:413) Agent will be restarted soon to see if the failure condition cleared up - Agent fails to start due to "Cannot assign requested address"
Environment
- JBoss Operations Network (JON) 2.3.0, 2.3.1, 2.4.0, 2.4.1, 3.1.1
- JON Agent
- Host name, IP address, and/or TCP port entered during configuration time are not local to the agent's host machine
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.