java.net.ConnectException: Connection refused: connect


Solutions on the web

Solution icon of stackoverflow
Connection refused: connect

Solution icon of coderanch
via Coderanch by Maria Kowalczyk, 1 year ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Andy Richard, 11 months ago
Connection refused: connect

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

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

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

Solution icon of github
Connection refused: connect

Solution icon of github
via GitHub by ronysaputro8
, 5 months ago
Connection refused: connect

Solution icon of github
via GitHub by JeromeD-gre
, 1 year ago
Connection refused: connect

Solution icon of github
Connection refused: connect

Stack trace

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.<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:1169)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
	at java.net.URL.openStream(URL.java:1045)
	at org.equinoxosgi.chapter7.client.server.toast.internal.core.channel.sender.UrlChannel.send(UrlChannel.java:50)
	at org.equinoxosgi.chapter7.client.server.toast.client.emergency.EmergencyMonitor.runEmergencyProcess(EmergencyMonitor.java:49)
	at org.equinoxosgi.chapter7.client.server.toast.client.emergency.EmergencyMonitor.access$0(EmergencyMonitor.java:33)
	at org.equinoxosgi.chapter7.client.server.toast.client.emergency.EmergencyMonitor$1.run(EmergencyMonitor.java:87)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

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

Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
723 more bugmates