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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Coderanch by Gus Spain, 1 year ago
Connection refused: connect
via pydev by dessimat0r
, 1 year ago
Connection refused: connect
via Oracle Community by 843793, 1 year ago
Connection refused: connect
via adobe.com by Unknown author, 1 year ago
via Google Groups by Kay, 2 years ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.(Socket.java:309)
at java.net.Socket.(Socket.java:124)
at undefined.queryAnalyzer.action(queryAnalyzer.java:314)
at undefined.Socket_server$Client.run(Socket_server.java:38)
at undefined.ThreadPoolWorker.runIt(ThreadPoolWorker.java:72)
at undefined.ThreadPoolWorker.runWork(ThreadPoolWorker.java:63)
at undefined.ThreadPoolWorker.access$000(ThreadPoolWorker.java:3)
at undefined.ThreadPoolWorker$1.run(ThreadPoolWorker.java:25)
at java.lang.Thread.run(Thread.java:534)

Users with the same issue

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
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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