Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Specify port for server callback

843793Nov 8 2001 — edited Jan 23 2004
I 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2004
Added on Nov 8 2001
7 comments
356 views