javax.naming.CommunicationException: [Root exception is Connection refused: connect] | 8 months ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [SOLVED] Unable to make LDAP Connection in Apache Directory Studio to OpenLDAP on Gentoo | 8 months ago
    javax.naming.CommunicationException: [Root exception is Connection refused: connect]
  2. 0

    ClassNotFoundException when using custom SSLSocketFactory

    Stack Overflow | 5 years ago | Jagadish G
    javax.naming.CommunicationException: [Root exception is java.lang.ClassNotFoundException: com/testing/diraccess/service/ActiveDirectory$TestSSLFactory]
  3. 0

    LDAP Synchronization Connector - Bug #27: Connection on ldaps:// URI - LSC | 9 months ago
    javax.naming.CommunicationException: simple bind failed: localhost:389 [Root exception is Remote host closed connection during handshake]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how to accept self-signed certificates for JNDI/LDAP connections?

    Stack Overflow | 6 years ago | wishihadabettername
    javax.naming.CommunicationException: simple bind failed: ldapserver:636 [Root exception is PKIX path building failed: unable to find valid certification path to requested target]
  6. 0

    [SEC-2664] ActiveDirectoryLdapAuthenticationProvider should wrap communication exceptions in InternalAuthenticationServiceException - Spring JIRA | 1 year ago
    org.springframework.ldap.CommunicationException:; nested exception is javax.naming.CommunicationException:

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.CommunicationException [Root exception is Connection refused: connect]

      at com.sun.jndi.ldap.Connection.<init>()
    2. Java RT
      1. com.sun.jndi.ldap.Connection.<init>(Unknown Source)
      2. com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
      3. com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source)
      4. com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
      5. com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
      6. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
      7. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
      8. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
      9. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
      10. javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      11. javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      12. javax.naming.InitialContext.init(Unknown Source)
      13. javax.naming.ldap.InitialLdapContext.<init>(Unknown Source)
      13 frames