java.net.ConnectException: Connection refused


Solutions on the web

Solution icon of oraclecommunity
via Oracle Community by 807554, 1 year ago
Connection refused

Solution icon of github
via GitHub by Patheek1971
, 7 months ago
Connection refused (Connection refused)

Solution icon of github
via GitHub by dineiar
, 1 month ago
Connection refused (Connection refused)

Solution icon of github
via GitHub by sanguinar
, 4 weeks ago
Connection refused (Connection refused)

Solution icon of github
Connection refused (Connection refused)

Solution icon of github
Connection refused (Connection refused)

Solution icon of github
Connection refused (Connection refused)

Solution icon of github
via GitHub by blackfinn
, 10 months ago
Connection refused (Connection refused)

Solution icon of github
Connection refused (Connection refused)


Stack trace

java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
	at java.net.Socket.<init>(Socket.java:268)
	at java.net.Socket.<init>(Socket.java:95)

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
2 times, 2 months ago
582 times, 3 months ago
Once, 4 months ago
6 times, 8 months ago
4 times, 8 months ago
847 more bugmates