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 neekrish
, 1 year ago
Connection timed out
via GitHub by Linij
, 1 month ago
Connection refused (Connection refused)
via Stack Overflow by Osora
, 1 year ago
Call From ip-172-31-5-177.ap-northeast-2.compute.internal/172.31.5.177 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
java.net.ConnectException: Connection timed out	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)	at java.lang.reflect.Constructor.newInstance(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)	at java.security.AccessController.doPrivileged(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)	at java.net.HttpURLConnection.getResponseCode(Unknown Source)	at com.ibm.net.ssl.www2.protocol.https.b.getResponseCode(Unknown Source)	at com.cloudant.http.interceptors.CookieInterceptor.interceptResponse(CookieInterceptor.java:105)	at com.cloudant.http.HttpConnection.execute(HttpConnection.java:357)	at com.cloudant.client.org.lightcouch.CouchDbClient.execute(CouchDbClient.java:470)	at com.cloudant.client.api.CloudantClient.executeRequest(CloudantClient.java:335)	at com.cloudant.client.internal.views.ViewRequester.executeRequestWithResponseAsJson(ViewRequester.java:34)	at com.cloudant.client.internal.views.ViewRequester.getResponseAsJson(ViewRequester.java:28)	at com.cloudant.client.internal.views.ViewRequestImpl.getResponse(ViewRequestImpl.java:34)