java.lang.RuntimeException: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect

Oracle Community | 2790552 | 2 years ago
  1. 0

    Getting internal server while integrating facebook with WCS JSK

    Oracle Community | 2 years ago | 2790552
    java.lang.RuntimeException: java.lang.RuntimeException: java.net.ConnectException: Connection refused: connect
  2. 0

    GitHub comment 3816#137416433

    GitHub | 1 year ago | mrumpf
    org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-1.12-bin.zip'.
  3. 0

    Unable to create portlet in Liferay IDE

    Stack Overflow | 1 year ago | Sunil Rai
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can AspectJ weave through sun.net.* packages?

    Stack Overflow | 9 months ago | stackoverflower
    java.net.ConnectException: Connection refused: connect
  6. 0

    How to resolve - "java.net.ConnectException" : Connection refused : after connect in eclipse?

    Software Quality Assurance & Testing | 1 month ago | Bibin Biju
    java.net.ConnectException: Connection refused: connect

  1. bpbhat77 2 times, last 2 months ago
  2. tfr 2 times, last 4 months ago
  3. tvrmsmith 1 times, last 4 months ago
  4. pnaranja 2 times, last 5 months ago
  5. treefolk 1 times, last 2 weeks ago
44 more registered users
49 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.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
    8. java.net.Socket.connect(Socket.java:579)
    8 frames
  3. Java JSSE
    BaseSSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
    2. sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
    2 frames
  4. Java RT
    HttpsURLConnectionImpl.getInputStream
    1. sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    2. sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
    3. sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
    4. sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:270)
    5. sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:327)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
    8. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    9. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
    10. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    10 frames
  5. com.fatwire.cos
    ExternalAuthDispatcherServlet.doGet
    1. com.fatwire.cos.sso.external.dispatcher.ExternalInfrastructureImpl.getURLContent(ExternalInfrastructureImpl.java:133)
    2. com.fatwire.cos.sso.external.dispatcher.facebook.DataReaderProcessor.processRequest(DataReaderProcessor.java:72)
    3. com.fatwire.cos.sso.external.dispatcher.ExternalAuthenticatorImpl.authenticate(ExternalAuthenticatorImpl.java:51)
    4. com.fatwire.cos.sso.external.dispatcher.ExternalAuthDispatcherImpl.processAuthenticationRequest(ExternalAuthDispatcherImpl.java:100)
    5. com.fatwire.cos.sso.external.dispatcher.supportservlet.ExternalAuthDispatcherServlet.doGet(ExternalAuthDispatcherServlet.java:30)
    5 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    2 frames
  7. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
    2. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
    3. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
    4. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
    5. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    6. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    7. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    8. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    9. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    10. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    11. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    12. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    13. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    14. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    15. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    16. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    17. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    18. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    19. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    20. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    21. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    22. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    23. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    24. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    25. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    26. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    27. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    28. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    29. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    30. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    31. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    32. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    33. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    34. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    35. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    36. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    37. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    38. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    39. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    40. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    41. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    42. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    43. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    44. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    45. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    46. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    47. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    48. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    49. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    50. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    51. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    52. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    53. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    54. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    55. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    56. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    57. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    58. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    59. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    60. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    61. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    62. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    63. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    64. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    65. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    66. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    67. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    68. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    69. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    70. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    71. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    72. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    73. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    74. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    75. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    76. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    76 frames
  8. com.fatwire.cos
    RestFilter.doFilter
    1. com.fatwire.cos.comments.service.filters.RestFilter.doFilter(RestFilter.java:151)
    1 frame
  9. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    2 frames
  10. com.fatwire.cos
    ResourceFilter.doFilter
    1. com.fatwire.cos.core.i18n.ResourceFilter.doFilter(ResourceFilter.java:45)
    1 frame
  11. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    2 frames
  12. com.fatwire.cos
    SSOContextFilter.doFilter
    1. com.fatwire.cos.core.sso.SSOContextFilter.doFilter(SSOContextFilter.java:77)
    1 frame
  13. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    2 frames
  14. com.fatwire.wem
    CASFilter.doFilter
    1. com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:701)
    1 frame
  15. com.fatwire.cos
    SwitchedSSOFilter.doFilter
    1. com.fatwire.cos.web.sso.SwitchedSSOFilter.doFilter(SwitchedSSOFilter.java:52)
    1 frame
  16. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    2 frames
  17. com.fatwire.cos
    GeneralPreparationsFilter.doFilter
    1. com.fatwire.cos.comments.service.filters.GeneralPreparationsFilter.doFilter(GeneralPreparationsFilter.java:80)
    1 frame
  18. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    2 frames
  19. com.fatwire.cos
    PreviousVersionsSupportFilter.doFilter
    1. com.fatwire.cos.comments.service.filters.PreviousVersionsSupportFilter.doFilter(PreviousVersionsSupportFilter.java:49)
    1 frame
  20. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    2 frames
  21. com.fatwire.cos
    StartupGuardFilter.doFilter
    1. com.fatwire.cos.core.util.web.StartupGuardFilter.doFilter(StartupGuardFilter.java:42)
    1 frame
  22. 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
  23. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    10 frames
  24. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    3 frames
  25. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:722)
    3 frames