IMO,only config the jndi port will make it ok,because the client will use only that port to use jndi server.what is the function of the rmiport.