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 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
via Google Groups by Leonardo Salatino, 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:295)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.(Socket.java:290)
at java.net.Socket.(Socket.java:118)
at net.grinder.tools.tcpsniffer.SnifferPlainSocketFactory.createClientSocket(SnifferPlainSocketFactory.java:56)
at net.grinder.tools.tcpsniffer.SnifferEngineImplementation.launchThreadPair(SnifferEngineImplementation.java:140)
at net.grinder.tools.tcpsniffer.SnifferEngineImplementation.run(SnifferEngineImplementation.java:106)
at net.grinder.TCPSniffer.run(TCPSniffer.java:346)
at net.grinder.TCPSniffer.main(TCPSniffer.java:61)

Users with the same issue

11 times, 8 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
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
949 more bugmates

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