java.net.ConnectException: Connection refused: connect

bonitasoft.com | 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

    cant shutdown tomcat

    Coderanch | 7 years ago | Yewint Ko
    java.net.ConnectException: Connection timed out
  2. 0

    Tomcat problem

    Oracle Community | 1 decade ago | 807607
    java.net.ConnectException: Connection timed out
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Tomcat throws exception when shutting down

    tomcat-users | 8 years ago | Pavel Gouchtchine
    java.net.ConnectException: Connection timed out: connect
  5. 0

    Re: Tomcat throws exception when shutting down

    tomcat-users | 8 years ago | Konstantin Kolinko
    java.net.ConnectException: Connection timed out: connect

  1. QrCeric 3 times, last 8 hours ago
  2. andyglick 56 times, last 4 weeks ago
  3. tomthomas 1 times, last 1 month ago
  4. stigkj 4 times, last 1 month ago
  5. michallos 1 times, last 2 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: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    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)
    7. java.net.Socket.connect(Socket.java:478)
    8. java.net.Socket.<init>(Socket.java:375)
    9. java.net.Socket.<init>(Socket.java:218)
    9 frames
  3. Embedded GlassFish Web
    JkCoyoteHandler.pause
    1. org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492)
    2. org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:288)
    3. org.apache.jk.server.JkMain.pause(JkMain.java:726)
    4. org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
    4 frames
  4. Glassfish Core
    Catalina$CatalinaShutdownHook.run
    1. org.apache.catalina.connector.Connector.pause(Connector.java:1064)
    2. org.apache.catalina.core.StandardService.stop(StandardService.java:578)
    3. org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)
    4. org.apache.catalina.startup.Catalina.stop(Catalina.java:662)
    5. org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:706)
    5 frames