Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,

    Check if your MariaDB is running and available.

Solutions on the web

via MuleSoft JIRA by Daniel Zapata, 1 year ago
Connection timed out: connect
via Google Groups by Alex, 8 months ago
Connection timed out: connect
via Oracle Community by 3565914, 2 months ago
via Oracle Community by user558643, 1 year ago
Connection timed out: connect
via Oracle Community by 3425698, 9 months ago
Connection timed out: connect
java.net.ConnectException: Connection timed out: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:529)	at sun.net.NetworkClient.doConnect(NetworkClient.java:158)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:411)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:525)	at sun.net.www.http.HttpClient.(HttpClient.java:208)	at sun.net.www.http.HttpClient.New(HttpClient.java:291)	at sun.net.www.http.HttpClient.New(HttpClient.java:310)	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923)	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)	at org.apache.wink.client.internal.handlers.HttpURLConnectionHandler.processRequest(HttpURLConnectionHandler.java:97)	at org.apache.wink.client.internal.handlers.HttpURLConnectionHandler.handle(HttpURLConnectionHandler.java:54)	at org.apache.wink.client.internal.handlers.HandlerContextImpl.doChain(HandlerContextImpl.java:52)	at org.apache.wink.client.internal.handlers.AcceptHeaderHandler.handle(AcceptHeaderHandler.java:79)	at org.apache.wink.client.internal.handlers.HandlerContextImpl.doChain(HandlerContextImpl.java:52)	at org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:227)	at org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:189)	at org.apache.wink.client.internal.ResourceImpl.invokeNoException(ResourceImpl.java:181)	at org.apache.wink.client.internal.ResourceImpl.get(ResourceImpl.java:310)	at org.eclipse.lyo.oslc4j.stockquote.resources.StockQuoteResource.retrieveStockQuoteInformation(StockQuoteResource.java:232)	at org.eclipse.lyo.oslc4j.stockquote.resources.StockQuoteResource.getStockQuotes(StockQuoteResource.java:92)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)	at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleResourceMethod(FindResourceMethodHandler.java:151)	at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:65)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:48)	at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)	at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)	at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:119)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)	at org.eclipse.jetty.server.Server.handle(Server.java:370)	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)	at java.lang.Thread.run(Thread.java:662)