This is item A.1 in the RMI FAQ. You need to either fix your /etc/hosts file or set the java.rmi.server.hostname
property at the server.
More Related Contents:
- java.rmi.ServerException: RemoteException occurred in server thread (ClassNotFoundException)
- java.sql.SQLException: Access denied for user ‘root’@’localhost’ (using password: YES)
- java.rmi.NoSuchObjectException: no such object in table
- What port is used by Java RMI connection?
- RMI connection refused on localhost
- How can I solve “java.lang.NoClassDefFoundError”?
- What are the effects of exceptions on performance in Java?
- How to generate exceptions from RepaintManager
- ClassNotFoundException com.mysql.jdbc.Driver [duplicate]
- How to create custom exceptions in Java? [closed]
- Given final block not properly padded
- When to close Connection, Statement, PreparedStatement and ResultSet in JDBC
- When should we create our own Java exception classes? [closed]
- How to test that no exception is thrown?
- Using Joda Date & Time API to parse multiple formats
- How to create a custom exception type in Java? [duplicate]
- What is the difference between connection and read timeout for sockets?
- Why are Exceptions not Checked in .NET?
- Java: Exceptions as control flow?
- In a Java 7 multicatch block what is the type of the caught exception?
- Android exception handling best practice?
- What is meant by abstract=”true” in spring?
- Should java try blocks be scoped as tightly as possible?
- How can I catch all exceptions thrown through reading / writing a file?
- Print the stack trace of an exception
- Try-catch-finally and then again a try catch
- In Java, what is the difference between catch a generic exception and a specific exception (eg. IOException?)
- problems with java3D lib configuration
- Why does a Java Lambda which throws a Runtime Exception require brackets?
- Java 8 Supplier Exception handling with CompletableFuture