java.net.ConnectException: Connection refused

coderanch.com | 6 months 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 connect to Jboss server.

    manageengine.com | 9 months ago
    java.net.ConnectException: Connection refused: connect
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Shut Down a SSL Enabled JBOSS

    Coderanch | 5 years ago | Prasad Krishnegowda
    java.lang.reflect.UndeclaredThrowableException
  4. 0

    Source Code - releasenotes.html

    search-hadoop.com | 2 years ago
    com.sun.jersey.api.client.ClientHandlerException: 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

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    HttpURLConnection.getOutputStream
    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. sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    10. sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    11. sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:306)
    13. sun.net.www.http.HttpClient.New(HttpClient.java:323)
    14. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
    15. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    16. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
    17. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014)
    17 frames
  3. JBoss Application Server Server
    ClientContainer.invoke
    1. org.jboss.invocation.http.interfaces.Util.invoke(Util.java:163)
    2. org.jboss.invocation.http.interfaces.HttpInvokerProxy.invoke(HttpInvokerProxy.java:118)
    3. org.jboss.invocation.http.interfaces.HttpInvokerProxy.invoke(HttpInvokerProxy.java:133)
    4. org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
    5. org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
    6. org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
    7. org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
    8. org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
    9. org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
    9 frames
  4. Unknown
    $Proxy0.invoke
    1. $Proxy0.invoke(Unknown Source)
    1 frame
  5. JBoss Application Server Server
    Shutdown$ServerProxyHandler.invoke
    1. org.jboss.Shutdown$ServerProxyHandler.invoke(Shutdown.java:271)
    1 frame