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 GitHub by niuliwei
, 2 years ago
Connection refused
via GitHub by vamzz1
, 1 year ago
via GitHub by hsdmiranda
, 2 years ago
Connection refused
via Google Groups by Abdul Moid, 2 years ago
Connection refused
via Google Groups by Mengchen Yu, 2 years ago
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193)	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)