Specify port for server callback
843793Nov 8 2001 — edited Jan 23 2004I have an RMI server that needs to make callbacks to a client. The client performs a lookup to the server in the registry and then passes a reference to itself to the server. The server should then perform a callback to the remote client. I would like to specify the port that should be used on the server and on the client.
I'm using CustomFactory classes to be able to specify the port to use when receving the client call sent to the server. Everything works fine except the server callback because of firewall problems. I really would like to be able to specify the ports to be used for this callback.
How can I do this? Please also post some examples!
Thanks!
Christer