java.net.ConnectException: Connection refused

Oracle Community | 924584 | 4 years ago
tip
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

    unable to start oid1 server using opmnctl startall

    Oracle Community | 4 years ago | 924584
    java.net.ConnectException: Connection refused
  2. 0

    repeating error in startup log, but everything works

    Oracle Community | 6 years ago | Merlin128
    java.net.ConnectException: Connection refused
  3. 0

    Runs on OSX but not on Open Solaris

    Google Groups | 6 years ago | seb
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed uploading a file into teamforge through jenkins (Could not upload file due to IOException)

    Stack Overflow | 2 years ago | sai
    hudson.util.IOException2: remote file operation failed: /cip/home/jenkins/workspace/abc/target/abc-3.0.0.12-qtms.tar.gz at hudson.remoting.Channel@4fff5667:SLAVE-4
  6. 0

    db:: 3.63::SSL Certificate Error, Remedy at Tomcat 7d

    hivmr.com | 1 year ago
    java.net.ConnectException: Connection refused

  1. osvzs 4 times, last 1 day ago
  2. poroszd 2 times, last 4 days ago
  3. raytest 3 times, last 2 weeks ago
  4. Dunmer 264 times, last 3 weeks ago
  5. jf-ast 2 times, last 3 weeks ago
62 more registered users
33 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. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    6 frames
  3. Java JSSE
    SSLSocketFactoryImpl.createSocket
    1. com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
    2. com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:360)
    3. com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71)
    3 frames
  4. oracle.ldap.odip
    DIPSSLSocketFactory.createSocket
    1. oracle.ldap.odip.util.DIPSSLSocketFactory.createSocket(DIPSSLSocketFactory.java:124)
    1 frame
  5. Java RT
    InitialLdapContext.<init>
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    5. com.sun.jndi.ldap.Connection.createSocket(Connection.java:317)
    6. com.sun.jndi.ldap.Connection.<init>(Connection.java:187)
    7. com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
    8. com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
    9. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
    10. com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
    11. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
    12. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
    13. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
    14. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
    15. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    16. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    17. javax.naming.InitialContext.init(InitialContext.java:223)
    18. javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
    18 frames
  6. oracle.ldap.odip
    DIPStarter.contextInitialized
    1. oracle.ldap.odip.util.DirUtils.getInitialLdapContext(DirUtils.java:364)
    2. oracle.ldap.odip.util.DirUtils.getOIDContext(DirUtils.java:209)
    3. oracle.ldap.odip.web.DIPStarter.contextInitialized(DIPStarter.java:228)
    3 frames
  7. Atmosphere weblogic
    EventsManager$FireContextListenerAction.run
    1. weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    1 frame
  8. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    1 frame
  9. weblogic.security.service
    SecurityManager.runAs
    1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    1 frame
  10. Atmosphere weblogic
    WebAppModule.start
    1. weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    2. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    3. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    4. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    5. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    5 frames
  11. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    1 frame
  12. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  13. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    4 frames
  14. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  15. weblogic.application.internal
    BaseDeployment$2.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    3 frames
  16. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  17. weblogic.application.internal
    DeploymentStateChecker.activate
    1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    2. weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    3 frames
  18. weblogic.deploy.internal
    BasicDeployment.activateFromServerLifecycle
    1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    2. weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    3. weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    3 frames
  19. weblogic.management.deploy
    DeploymentServerService.start
    1. weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    2. weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    3. weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    4. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
    5. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
    6. weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    7. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    8. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    9. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    9 frames
  20. weblogic.t3.srvr
    SubsystemRequest.run
    1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    1 frame
  21. weblogic.work
    ExecuteThread.run
    1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    2. weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    2 frames