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 Stack Overflow by shaldnikita
, 1 year ago
Connection refused to host: 192.168.0.83; nested exception is: java.net.ConnectException: Connection timed out: connect
via Oracle Community by 843793, 2 years ago
Connection refused to host: pebbleit.hope.edu; nested exception is: java.net.ConnectException: Connection timed out: connect
via Stack Overflow by Patze
, 1 year ago
Connection refused to host: myHost; nested exception is: java.net.ConnectException: Connection refused
via Stack Overflow by StrayPointer
, 1 year ago
Connection refused to host: 192.168.56.1; nested exception is: java.net.ConnectException: Connection timed out: connect
via Oracle Community by 843793, 2 years ago
Connection refused to host: 10.0.1.2; nested exception is: java.net.ConnectException: Connection refused: connect
via Coderanch by Stevens Miller, 10 months ago
Connection refused to host : 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection timed out: connect	at java.net.DualStackPlainSocketImpl.connect0(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)	at java.net.PlainSocketImpl.connect(Unknown Source)	at java.net.SocksSocketImpl.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at java.net.Socket.(Unknown Source)	at java.net.Socket.(Unknown Source)	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)	at sun.rmi.server.UnicastRef.invoke(Unknown Source)	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)	at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)	at com.sun.proxy.$Proxy0.canConnect(Unknown Source)	at server.Main.main(Main.java:16)