java.net.ConnectException: Connection timed out: connect

Oracle Community | Nelash Jindal | 4 years 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

    Getting  *Failed external authentication*  while integrating with facebook

    Oracle Community | 4 years ago | Nelash Jindal
    java.net.ConnectException: Connection timed out: connect
  2. 0

    Not able to create any portlet on Liferay 6.2 CE GA4 Offline without internet

    Stack Overflow | 2 years ago | Vasimkhan
    java.net.ConnectException: Connection timed out: connect
  3. 0

    Sources download ignores proxy settings

    YouTrack | 5 years ago
    java.net.ConnectException: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. iferca 1 times, last 2 weeks ago
  2. Nikolay Rybak 1010 times, last 3 weeks ago
  3. mauritius 7 times, last 3 weeks ago
  4. andyglick 1 times, last 3 weeks ago
  5. stigkj 15 times, last 3 weeks ago
50 more registered users
45 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 timed out: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    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)
    6 frames
  3. Java JSSE
    BaseSSLSocketImpl.connect
    1. com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
    2. com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
    2 frames
  4. Java RT
    HttpsURLConnectionImpl.getInputStream
    1. sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    2. sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    3. sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    4. sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
    5. sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
    6. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
    7. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    8. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
    9. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
    10. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
    10 frames
  5. com.fatwire.cos
    ExternalAuthDispatcherServlet.doGet
    1. com.fatwire.cos.sso.external.dispatcher.ExternalInfrastructureImpl.getURLContent(ExternalInfrastructureImpl.java:165)
    2. com.fatwire.cos.sso.external.dispatcher.facebook.ShareProcessor.getAccessToken(ShareProcessor.java:112)
    3. com.fatwire.cos.sso.external.dispatcher.facebook.ShareProcessor.processRequest(ShareProcessor.java:56)
    4. com.fatwire.cos.sso.external.dispatcher.ExternalAuthenticatorImpl.authenticate(ExternalAuthenticatorImpl.java:43)
    5. com.fatwire.cos.sso.external.dispatcher.ExternalAuthDispatcher.processAuthenticationRequest(ExternalAuthDispatcher.java:70)
    6. com.fatwire.cos.sso.external.dispatcher.supportservlet.ExternalAuthDispatcherServlet.doGet(ExternalAuthDispatcherServlet.java:38)
    6 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    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)
    40 frames
  8. com.fatwire.cos
    RestFilter.doFilter
    1. com.fatwire.cos.comments.service.filters.RestFilter.doFilter(RestFilter.java:141)
    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:64)
    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
    SSOFilter.doFilter
    1. com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:509)
    2. com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
    2 frames
  15. 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
  16. com.fatwire.cos
    GeneralPreparationsFilter.doFilter
    1. com.fatwire.cos.core.sso.GeneralPreparationsFilter.doFilter(GeneralPreparationsFilter.java:68)
    1 frame
  17. 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
  18. com.fatwire.cos
    StartupGuardFilter.doFilter
    1. com.fatwire.cos.core.util.web.StartupGuardFilter.doFilter(StartupGuardFilter.java:42)
    1 frame
  19. 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
  20. 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:472)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    10 frames
  21. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    3 frames
  22. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames