java.net.ConnectException

Connection refused: connect


Samebug tips2

spring-data-redis requires redis 2.6+ to work properly.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web13939

Solution icon of pentaho
via Pentaho BI Platform Tracking by Golda David, 1 year ago
Connection refused: connect Connection refused: connect

Solution icon of googlegroups
via Google Groups by Stephen Neal, 1 year ago
Connection refused: connect java.net.ConnectException: Connection refused: connect

Solution icon of oraclecommunity
via Oracle Community by 431393, 9 months ago
Connection refused: connect java.net.ConnectException: Connection refused: connect

Solution icon of pentaho
via Pentaho BI Platform Tracking by Golda David, 1 year ago
Connection refused: connect Connection refused: connect

Solution icon of coderanch
via Coderanch by Frank Malaga, 8 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Steve Jerome, 8 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Reema Patel, 8 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Dhana Sen, 8 months ago
Connection refused: connect

Solution icon of coderanch
Connection refused: connect

Solution icon of coderanch
via Coderanch by gaurav abbi, 8 months ago
Connection refused: connect

Stack trace

  • java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) 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 sun.net.NetworkClient.doConnect(NetworkClient.java:175) 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.<init>(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:1168) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:932) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440) at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489) at InstanceContainer.initScript(InstanceContainer.java:152) at InstanceContainer.init(InstanceContainer.java:61) at CreateInstanceWindow.lambda$init$4(CreateInstanceWindow.java:176)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 2 weeks ago
9 times, 7 months ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
98 more bugmates