Hi Mehmet,
Last of all, as my application seems working on localhost and testing it on two different computers turned out to be too troublesome does it hurt to give up on it ? Did anyone submit his/her application without testing it over WAN and passed anyway ?
Yes, I passed with only testing it on a LAN.
Many people here pass without even testing on a LAN. I have been considering adding two items to the FAQ: "can I submit without testing on other platforms", and "can I submit without testing connection from a separate machine".
By default, the rmiregistry appears to ignore the ipaddress in the server registration
string, and just gives out the local ip address (which is non routable).
To get around this, you could try using the following parameter on your command line of your server:
Changing the "chatsubo.javasoft.com" to whatever your publically accessible hostname or IP address is.
Without this parameter, I was getting the same problem as you when connecting over a WAN: failure to connect to the private IP address. Once I put this parameter in, everything worked fine.
This hint came from the "
RMI Through Firewalls Via Proxies" page.
Since this parameter needs to be set for the server only,
you should be able to set it programattically before registering your server with the rmiregistry. However I don't think you need to go to that level of detail - people have been submitting without this "fix" for years and passing.
Regards, Andrew