Hi: everyone. Sometimes my server starts fine, sometimes it does not. I use "LocateRegistry.createRegistry(port);" to start my server, but just because of which method made me this problem. if port is 1099, my server starts fine; if port is not 1099, I have to use command "rmiregistry" in DOS before starts the server. I want to know how to deal with my problem, I mean that do not using 1099 and any DOS command to start the server.