SAP Knowledge Base Article - Preview

3502534 - Diagnostic Agent: Cannot get Socket. Reason:error 111 - Connection refused (Connection refused) (local port xxxx to address xxxx, remote port xxxx to address xxxx)]

Symptom

You are using a SAP router and the Diagnostic agent is not connecting to Solution Manager.

In the Diagnostic Agent support logs in SMDSystem.log file you see the following error:

Error Connecting to SMD server ms:8111/P4 failed - error counter: 2365
[EXCEPTION]
javax.naming.NamingException: Exception while trying to get InitialContext. [Root exception is java.io.IOException: Cannot get Socket. Reason:error 111 - Connection refused (Connection refused) (local port xxxx to address xxxx, remote port xxxx to address xxxx)]
    at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:386)

Caused by: java.io.IOException: Cannot get Socket. Reason:error 111 - Connection refused (Connection refused) (local port xxxx to address xxxx, remote port xxxx to address xxxx)]


Read more...

Environment

Solution Manager 7.2

Product

SAP Solution Manager 7.2

Keywords

Diagnostic Agent, DAA, Connection refused, Reason:errno: 111, Cannot get Socket , KBA , SV-SMG-DIA-SRV-AGT , Agent Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.