K. Tsang wrote:Hello Buler,
To get the registry working, you need to change your server class to create the registry
I used rebind rather than bind but I don't think it matter much. Also the "Hello" is suppose to be the server RMI path which looks like "rmi://<ip address>:<port> <name>". So yours should really looks like "rmi://192.168.x.x:1099 Hello".
Just to give you a pointer about RMI, if you bind with IP address on the server then the client must get the registry using IP address. If use hostname then both sides use hostname. Also for IP address binding with "127.0.0.1" vs "192.168.x.x" is a big difference. 127.0.0.1 only allow both server and client to run on same machine. 192.168.x.x allows you to run server and client on different machines - like unix server and windows client.