Hello, I am done with coding and
testing my B&S application, just found problem with port numbers.
Problem Scenario:
-I started the server by specifying host=localhost and port = 8080 (for testing)
-Starting Client on host=localhost and port=8080 --> Client successfully connects
-Starting Client on host=localhost and port=1099 (Which is default port)also works --> Client successfully connects
-Starting Clinet on host=localhost and port=any other port number other than above two do not work--> connection fails.
why doest RMI Registry allow client to connect to server when it is trying use port 1099 whereas server is listening at 8080
and why only 1099 is accepted not any other port number?
Please help, I am very near to submission and exhausted by tweaking here and there.
Thanks,
Alain