java.net.ConnectException: Connection refused

github.com | 3 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    deploy error

    GitHub | 2 years ago | yuanhailong
    java.net.ConnectException: Connection refused

  1. michallos 1 times, last 6 days ago
  2. treefolk 2 times, last 3 days ago
  3. linxiaolong 18 times, last 4 weeks ago
  4. Kialandei 1 times, last 1 month ago
  5. DoktorDoener666 41 times, last 3 weeks ago
24 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:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    7. java.net.Socket.connect(Socket.java:528)
    8. java.net.Socket.<init>(Socket.java:425)
    9. java.net.Socket.<init>(Socket.java:280)
    9 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
    2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    7 frames
  4. hadoop-yarn-server-web-proxy
    WebAppProxyServlet.doGet
    1. org.apache.hadoop.yarn.server.webproxy.WebAppProxyServlet.proxyLink(WebAppProxyServlet.java:185)
    2. org.apache.hadoop.yarn.server.webproxy.WebAppProxyServlet.doGet(WebAppProxyServlet.java:336)
    2 frames
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    2 frames
  6. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
    2 frames
  7. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
    1 frame
  8. Jersey
    ServletContainer.doFilter
    1. com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:900)
    2. com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:834)
    3. com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795)
    3 frames
  9. Guice - Servlet
    GuiceFilter.doFilter
    1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    3. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
    4. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
    4 frames
  10. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
    1 frame
  11. Hadoop
    StaticUserWebFilter$StaticUserFilter.doFilter
    1. org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter.doFilter(StaticUserWebFilter.java:109)
    1 frame
  12. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
    1 frame
  13. Hadoop
    HttpServer2$QuotingInputFilter.doFilter
    1. org.apache.hadoop.http.HttpServer2$QuotingInputFilter.doFilter(HttpServer2.java:1183)
    1 frame
  14. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
    1 frame
  15. Hadoop
    NoCacheFilter.doFilter
    1. org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)
    1 frame
  16. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
    1 frame
  17. Hadoop
    NoCacheFilter.doFilter
    1. org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)
    1 frame
  18. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    8. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    9. org.mortbay.jetty.Server.handle(Server.java:326)
    10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    11. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
    12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
    13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
    15 frames
  19. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    1 frame