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!

How to get the IP address of RMI server???

843793Feb 3 2005 — edited Feb 10 2005
Hi:
Is there a way to know the IP address of RMI server before client and server connect?
I am assuming that client didn't know the IP address of the server.

Because I know that client must hold a server reference so that client can connect to server.
But I want my client program to find out server IP address before they connect and use this finding to connect to server.

Is it possible?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2005
Added on Feb 3 2005
6 comments
541 views