javax.naming.CommunicationException: rh02.trisynctech.com:3998 [Root exception is java.net.ConnectException: Connection refused]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via linuxquestions.org by Unknown author, 1 year ago
127.0.0.1:389 [Root exception is java.net.ConnectException: Connection refused: connect]
via Stack Overflow by Jagadish G
, 1 year ago
192.168.100.22:636 [Root exception is java.lang.ClassNotFoundException: com/testing/diraccess/service/ActiveDirectory$TestSSLFactory]
via Oracle Community by 843793, 1 year ago
*********:389 [Root exception is java.net.ConnectException: Connection refused]
via Oracle Community by 843793, 1 year ago
localhost:636 [Root exception is java.net.ConnectException: Connection refused: connect]
via Oracle Community by 843793, 1 year ago
Balu:389 [Root exception is java.net.BindException: Address already in use: connect]
via directory-users by Tanja Ertl, 1 year ago
server:port [Root exception is java.net.ConnectException: Connection refused]
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:520)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:333)
at com.sun.jndi.ldap.Connection.(Connection.java:181)
at com.sun.jndi.ldap.LdapClient.(LdapClient.java:118)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1578)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2605)
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:284)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:134)
at com.sun.directory.common.ssl.LdapContextUtils$1.run(LdapContextUtils.java:84)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

142 times, 1 day ago
8 times, 2 days ago
552 times, 2 days ago
11 times, 4 days ago
26943 times, 5 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.