java.net.ConnectException: Connection timed out

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 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
via Oracle Community by 2987280, 1 year ago
Connection refused; No available router to destination] EDT Jul 27 11:40:19.29 system.process DEBUG system.process.run stderr: Problem invoking WLST - Traceback (innermost last): File "/tmp/ovmm-installer.selfextract_Rc1mLl/ovm/installer/scripts/waitRunning.py", line 43, in ? File "/tmp/ovmm-installer.selfextract_Rc1mLl/ovm/installer/scripts/waitRunning.py", line 24, in _connect
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 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)

Users with the same issue

2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.