java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused

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 stanford.edu by Unknown author, 1 year ago
Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused
via stanford.edu by Unknown author, 7 months ago
Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused
via Oracle Community by 843793, 1 year ago
Connection refused to host: xx.xx.xx.120; nested exception is: java.net.ConnectException: Connection refused: connect
via Oracle Community by 843793, 4 months ago
Connection refused to host: url ; nested exception is: java.net.ConnectException: Connection refused: connect
via Oracle Community by 843793, 1 year ago
Connection refused to host: 10.114.12.89; nested exception is: java.net.ConnectException: Connection refused
via Stack Overflow by MaxC
, 11 months ago
Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:84)

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.