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

  1. ,

    Check if your MongoDB is available.

  2. ,

    Check if your MariaDB is running and available.

Solutions on the web

via Google Groups by Eric Berg, 2 years ago
via Google Groups by Matt Senecal, 6 months ago
via Oracle Community by 843793, 2 years ago
via Oracle Community by 3004, 1 year ago
via Oracle Community by 117302, 1 year ago
via Oracle Community by 3004, 1 year ago
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.(Socket.java:268)	at java.net.Socket.(Socket.java:95)	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:20)	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:115)	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:78)	at ServeurChatImpl_Stub.connect(Unknown Source)	at ClientDistantImpl.main(ClientDistantImpl.java:85)