javax.naming.CommunicationException: 127.0.0.1:389 [Root exception is java.net.ConnectException: Connection refused: connect]

linuxquestions.org | 5 months ago
  1. 0

    [SOLVED] Unable to make LDAP Connection in Apache Directory Studio to OpenLDAP on Gentoo

    linuxquestions.org | 5 months ago
    javax.naming.CommunicationException: 127.0.0.1:389 [Root exception is java.net.ConnectException: Connection refused: connect]
  2. 0

    ClassNotFoundException when using custom SSLSocketFactory

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

    LDAP Synchronization Connector - Bug #27: Connection on ldaps:// URI - LSC

    lsc-project.org | 6 months ago
    javax.naming.CommunicationException: simple bind failed: localhost:389 [Root exception is javax.net.ssl.SSLHandshakeException: 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 javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
  6. 0

    [SEC-2664] ActiveDirectoryLdapAuthenticationProvider should wrap communication exceptions in InternalAuthenticationServiceException - Spring JIRA

    spring.io | 1 year ago
    org.springframework.ldap.CommunicationException: myazuread.cloudapp.net:389; nested exception is javax.naming.CommunicationException: myazuread.cloudapp.net:389

    3 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

      127.0.0.1:389 [Root exception is java.net.ConnectException: Connection refused: connect]

      at com.sun.jndi.ldap.Connection.<init>()
    2. Java RT
      InitialLdapContext.<init>
      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