The socket should also be allowed to be resolved.
Please make the corresponging changes to both the
Server and Client RMI components. Can you do that and
check it?
Also make sure that both the server and Client classes
are complied using the same JDK version. I ran into
some trouble when I was setting up an Intranet Demo
Chat applications using Java RMI where both the server
and client classes were executing in different JVM
versions.