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

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via Google Groups by Hans Beemsterboer, 6 months ago
Connection refused
via Google Groups by Unknown author, 8 months ago
via GitHub by chrisliott
, 1 year ago
via Mirth Project by Peter Scholz, 1 year ago
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:529)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.(SSLSocketImpl.java:360)	at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71)	at oracle.ldap.odip.util.DIPSSLSocketFactory.createSocket(DIPSSLSocketFactory.java:124)	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:597)	at com.sun.jndi.ldap.Connection.createSocket(Connection.java:317)	at com.sun.jndi.ldap.Connection.(Connection.java:187)	at com.sun.jndi.ldap.LdapClient.(LdapClient.java:118)	at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)	at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:293)	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:288)	at javax.naming.InitialContext.init(InitialContext.java:223)	at javax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:134)	at oracle.ldap.odip.util.DirUtils.getInitialLdapContext(DirUtils.java:364)	at oracle.ldap.odip.util.DirUtils.getOIDContext(DirUtils.java:209)	at oracle.ldap.odip.web.DIPStarter.contextInitialized(DIPStarter.java:228)	at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)	at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)	at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)	at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)	at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)	at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)	at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)	at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)	at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)	at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)	at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)	at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)	at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)	at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)	at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)	at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)