java.rmi.ConnectException: Connection refused to host: 10.108.1.34; n ested exception is: java.net.ConnectException: Connection refused: connect]

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 Oracle Community by 843798, 1 year ago
Connection refused to host: 10.108.1.34; n ested exception is: java.net.ConnectException: Connection refused: connect]
via Oracle Community by 843849, 4 months ago
Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect]
via Oracle Community by 807581, 4 months ago
Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect]
via Oracle Community by 843798, 1 year ago
Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused]
via Oracle Community by 843859, 11 months ago
Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect]
via Stack Overflow by Evan Klein
, 4 months ago
Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect]
java.rmi.ConnectException: Connection refused to host: 10.108.1.34; n ested exception is: java.net.ConnectException: Connection refused: connect]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1807)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1777)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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