java.net.ConnectException: Connection refused.


Solutions on the web

Solution icon of oraclecommunity
Connection refused.

Stack trace

java.net.ConnectException: Connection refused.
	at java.net.PlainsocketImpl.socketConnect(Native Method)
	at java.net.PlainsocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.