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. ,
    Expert tip

    Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.

  2. ,
    Expert tip

    Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Solutions on the web

via Stack Overflow by Sonn
, 1 year ago
Connect to 192.168.50.5:1500 [/192.168.50.5] failed: Connection timed out
via Stack Overflow by iamj
, 1 year ago
Connect to 10.9.11.222:8500 [/ 10.9.11.222] failed: connect timed out
via GitHub by gm100861
, 2 years ago
Connect to www.huxiu.com:80 [www.huxiu.com/101.201.170.135] failed: connect timed out
via Stack Overflow by ReasyEasyPeasy
, 2 months ago
Connect to 43.3.98.179:80 [/43.3.98.179] failed: Connection timed out
via Atlassian JIRA by Antrego, 1 year ago
Connect to jira.domain.com:443 [jira.domain.com/188.165.234.170] failed: Connection timed out
via GitHub by cthielen
, 1 month ago
Connect to iet-ws.ucdavis.edu:443 [iet-ws.ucdavis.edu/128.120.41.123] failed: connect timed out
java.net.ConnectException: Connection timed out	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)	at org.eclipse.om2m.sample.sendalarmmessage.MessageSender.post(MessageSender.java:27)	at org.eclipse.om2m.sample.sendalarmmessage.ListeningMonitor$MyHandler.handle(ListeningMonitor.java:205)	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)	at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)	at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)	at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)	at sun.net.httpserver.ServerImpl$DefaultExecutor.execute(ServerImpl.java:158)	at sun.net.httpserver.ServerImpl$Dispatcher.handle(ServerImpl.java:431)	at sun.net.httpserver.ServerImpl$Dispatcher.run(ServerImpl.java:396)	at java.lang.Thread.run(Thread.java:745)