Discussion:
Is it even possible to bind a RMI servant to a static port?
(too old to reply)
Mark Lu
2004-09-02 17:12:48 UTC
Permalink
Hi all,

We want to bind a RMI service to a static port, so that the RMI client
outside of a firewall can be easily configured to access the RMI
service. Is it possible?

Thanks,
-Mark
Jan-Frode Myklebust
2004-09-02 18:11:07 UTC
Permalink
Post by Mark Lu
We want to bind a RMI service to a static port, so that the RMI client
outside of a firewall can be easily configured to access the RMI
service. Is it possible?
Ignore the rmi-server, and have your application bind to a port
by itself .. ?

Registry reg;
SomeServer SS = new SomeServer(x, y, z);
reg = LocateRegistry.createRegistry(5060);
reg.rebind("SomeServer", SS);


-jf

Loading...