java.net.ConnectException: A remote host refused an attempted connect operation.

Oracle Community | Jim Thompson | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Power Center Informatica Service not starting. SEVERE: Catalina Stop

    Oracle Community | 6 years ago | Jim Thompson
    java.net.ConnectException: A remote host refused an attempted connect operation.
  2. 0

    oozie-stop.sh is oblivious to 'catalina.sh stop' failing

    GitHub | 6 years ago | rvs
    java.net.ConnectException: Connection refused
  3. 0

    Own Server - Stopped Working

    GitHub | 3 years ago | johnthomas00
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat running, catalina throwing exception - Server Fault

    serverfault.com | 9 months ago
    java.net.ConnectException: Connection refused
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

    A remote host refused an attempted connect operation.

    at java.net.PlainSocketImpl.doConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
    2. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:233)
    3. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
    4. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
    5. java.net.Socket.connect(Socket.java:541)
    6. java.net.Socket.connect(Socket.java:491)
    7. java.net.Socket.<init>(Socket.java:399)
    8. java.net.Socket.<init>(Socket.java:208)
    8 frames
  3. Glassfish Core
    Catalina.stopServer
    1. org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:615)
    4 frames
  5. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
    2 frames
  6. com.informatica.pcsf
    NodeConfigurationServlet.init
    1. com.informatica.pcsf.common.threads.PCSFThreadGroup.abortTomcat(PCSFThreadGroup.java:70)
    2. com.informatica.pcsf.nodeconfigservice.NodeConfigurationServlet.init(NodeConfigurationServlet.java:156)
    2 frames
  7. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
    1 frame
  8. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
    8. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
    9. org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
    10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
    11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
    12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
    15. org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    18. org.apache.catalina.core.StandardService.start(StandardService.java:448)
    19. org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    20. org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    20 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:615)
    4 frames
  10. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    2 frames