java.net.ConnectException: Connection refused: connect

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843797, 1 year ago
Connection refused: connect
via Google Groups by Frank Unglauben, 1 month ago
Connection refused: connect
via Google Groups by Perry Sandoval, 5 months ago
Connection refused: connect
via jakarta-cactus-user by Josh Lam, 6 months ago
Connection refused: connect
via eclipsefp by brunneng
, 1 year ago
Connection refused: connect
via Eclipse Bugzilla by dirk_baeumer, 1 year ago
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.(Socket.java:273)
at java.net.Socket.(Socket.java:100)
at undefined.GetTime.main(GetTime.java:11)

Users with the same issue

130 times, 4 hours ago
11 times, 1 day ago
26943 times, 1 day ago
4 times, 3 days ago
5 times, 3 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.