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

Solutions on the web

via GitHub by jagan120
, 7 months ago
Failed to connect to maps.googleapis.com/2607:f8b0:4000:803:0:0:0:200a:443
via GitHub by mansuu
, 7 months ago
Failed to connect to myserver.com/139.162.1.242:7011
via Stack Overflow by cmb28
, 1 year ago
Failed to connect to localhost/0:0:0:0:0:0:0:1:8080
java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8080	at com.squareup.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:139)	at com.squareup.okhttp.internal.io.RealConnection.connect(RealConnection.java:108)	at com.squareup.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:174)	at com.squareup.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)	at com.squareup.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)	at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:283)	at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)	at com.squareup.okhttp.Call.getResponse(Call.java:286)	at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:243)	at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:205)	at com.squareup.okhttp.Call.execute(Call.java:80)	at retrofit.client.OkClient.execute(OkClient.java:53)	at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:326)	at retrofit.RestAdapter$RestHandler.access$100(RestAdapter.java:220)	at retrofit.RestAdapter$RestHandler$1.invoke(RestAdapter.java:265)	at retrofit.RxSupport$2.run(RxSupport.java:55)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at retrofit.Platform$Base$2$1.run(Platform.java:94)	at java.lang.Thread.run(Thread.java:745)