java.net.ConnectException: Connection refused: connect


Solutions on the web371

Solution icon of github
via GitHub by JapuDCret
, 9 months ago
Connection refused: connect

Solution icon of github
Connection refused: connect

Solution icon of github
via GitHub by vignesh89
, 1 year ago
Connection refused: connect

Solution icon of github
Connection refused: connect

Solution icon of github
via GitHub by santthoshkshar
, 1 month ago
Connection refused: connect

Solution icon of github
Connection refused: connect

Solution icon of github
via GitHub by MrMurfy
, 1 year ago
Connection refused: connect

Solution icon of github
Connection refused: connect

Solution icon of github
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
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
2 times, 2 months ago
9 times, 9 months ago
3 times, 1 year ago
103 more bugmates