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 Stack Overflow by M.Lamine Lalmi
, 1 year ago
via Stack Overflow by Alpesh Jikadra
, 1 year ago
via Stack Overflow by Utkarsh Saraf
, 7 months ago
via Stack Overflow by school_guy
, 6 months ago
Connection timed out: connect
java.net.ConnectException: Connection refused: connect	at java.net.DualStackPlainSocketImpl.connect0(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)	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.PlainSocketImpl.connect(PlainSocketImpl.java:172)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at java.net.Socket.connect(Socket.java:538)	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)	at sun.net.www.http.HttpClient.(HttpClient.java:211)	at sun.net.www.http.HttpClient.New(HttpClient.java:308)	at sun.net.www.http.HttpClient.New(HttpClient.java:326)	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)	at javaapplication1.JavaApplication1.main(JavaApplication1.java:28)