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 directory-users by Styssi Slater, 1 year ago
via directory-users by Styssi Slater, 1 year ago
via directory-users by John Cheng, 9 months ago
via Oracle Community by 1625119, 1 year ago
java.net.ConnectException: Connection refused: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(Unknown Source)	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)	at java.net.PlainSocketImpl.connect(Unknown Source)	at java.net.SocksSocketImpl.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at com.sun.jndi.ldap.Connection.createSocket(Unknown Source)	at com.sun.jndi.ldap.Connection.(Unknown Source)	at com.sun.jndi.ldap.LdapClient.(Unknown Source)	at com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source)	at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)	at com.sun.jndi.ldap.LdapCtx.(Unknown Source)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)	at javax.naming.InitialContext.init(Unknown Source)	at javax.naming.ldap.InitialLdapContext.(Unknown Source)	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$6.run(JNDIConnectionWrapper.java:872)	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doConnect(JNDIConnectionWrapper.java:914)	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.connect(JNDIConnectionWrapper.java:209)	at org.apache.directory.studio.connection.core.jobs.CheckNetworkParameterRunnable.run(CheckNetworkParameterRunnable.java:80)	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:123)	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)