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 Oracle Community by 807595, 1 year ago
Connection refused: connect
via Google Groups by funent, 7 months ago
via Coderanch by Juarez Alvares Barbosa Junior, 1 year ago
via Coderanch by Dhana Sen, 1 year ago
Connection refused: connect
via Oracle Community by 3004, 1 year ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)	at java.net.Socket.connect(Socket.java:426)	at java.net.Socket.connect(Socket.java:376)	at sun.net.NetworkClient.doConnect(NetworkClient.java:139)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)	at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)	at sun.net.www.http.HttpClient.(HttpClient.java:303)	at sun.net.www.http.HttpClient.(HttpClient.java:264)	at sun.net.www.http.HttpClient.New(HttpClient.java:336)	at sun.net.www.http.HttpClient.New(HttpClient.java:317)	at sun.net.www.http.HttpClient.New(HttpClient.java:312)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:481)	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)	at java.net.URL.openStream(URL.java:960)	at Example.(Example.java:9)	at Example.main(Example.java:16)