java.net.ConnectException: Connection refused

Stack Overflow | Harry | 6 months 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

    Tomcat not shutting down when Spring boot app is deployed with ehcache

    Stack Overflow | 6 months ago | Harry
    java.net.ConnectException: Connection refused
  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 | 10 months ago
    java.net.ConnectException: Connection refused

  1. QrCeric 17 times, last 1 month ago
  2. tomthomas 1 times, last 3 months ago
  3. chenjunjun 11 times, last 1 month ago
  4. treefolk 8 times, last 3 months ago
  5. Kialandei 1 times, last 6 months ago
27 more registered users
65 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.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    7. java.net.Socket.connect(Socket.java:538)
    8. java.net.Socket.<init>(Socket.java:434)
    9. java.net.Socket.<init>(Socket.java:211)
    9 frames
  3. Glassfish Core
    Catalina.stopServer
    1. org.apache.catalina.startup.Catalina.stopServer(Catalina.java:476)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  5. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:408)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:497)
    2 frames