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 Oracle Community by 843798, 2 years ago
Connection refused: connect
via Google Groups by ting....@hotmail.com, 2 years ago
via Oracle Community by 872876, 2 years ago
Connection refused: connect
via JIRA by Ali Tokmen [Administrator], 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:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:519)	at java.net.Socket.connect(Socket.java:469)	at java.net.Socket.(Socket.java:366)	at java.net.Socket.(Socket.java:180)	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)	at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)