The user at the client side should know the server and port, when starting the client, the user is prompted to enter this information. Maybe I am wrong??
On the server side, the admin is prompted for the rmi port everytime they start the server, I can persist such information. In this case I should have 2 files one for the client side and one for the server side. I am not sure how other people approached this. Maybe I am making a big deal out of it, any way any feedback is appreciated.