java.rmi.ConnectException: Connection refused to host: XXX.XXX.X.XX; nested exception is: java.net.ConnectException: Connection timed out

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

,

Check if your MongoDB is available.

,

Check if your MariaDB is running and available.

Solutions on the web

via Stack Overflow by TalO
, 1 year ago
Connection refused to host: XXX.XXX.X.XX; nested exception is: java.net.ConnectException: Connection timed out
via Stack Overflow by Gopalakrishna
, 4 months ago
Connection refused to host: (Host Private IP); nested exception is: java.net.ConnectException: Connection timed out (Connection timed out)
via Oracle Community by 843793, 1 year ago
Connection refused to host: pebbleit.hope.edu; nested exception is: java.net.ConnectException: Connection timed out: connect
via Stack Overflow by Patze
, 8 months ago
Connection refused to host: myHost; nested exception is: java.net.ConnectException: Connection refused
via Stack Overflow by shaldnikita
, 9 months ago
Connection refused to host: 192.168.0.83; nested exception is: java.net.ConnectException: Connection timed out: connect
via Stack Overflow by StrayPointer
, 9 months ago
Connection refused to host: 192.168.56.1; nested exception is: java.net.ConnectException: Connection timed out: connect
java.rmi.ConnectException: Connection refused to host: XXX.XXX.X.XX; nested exception is: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.(Socket.java:425)
at java.net.Socket.(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
at com.sun.proxy.$Proxy1.testStarted(Unknown Source)
at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(RemoteListenerWrapper.java:85)
at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:205)
at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:324)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

74 times, 6 hours ago
410 times, 12 hours ago
9 times, 13 hours ago
23 times, 1 week ago
307 times, 1 week ago
298 more bugmates

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