S
sherazi
On my Remote Server there are two Ethernet Adapter attached. one
Adapter configure with LAN Network and Second with WAN Network I want
to bind my remote object with particular WAN IP address .How I can set
WAN IP address to which remote object can be bind.
Following is the code for binding the object
systemProperties.put("java.rmi.server.hostname", WANIP);
Registry reg =
LocateRegistry.createRegistry(Constants.RMI_REGISTRY_PORT);
reg.rebind("My Object", remoteobject);
here is problem my object bind with LAN IP address. When I have set
the WAN IP in System Properties.
Thanks in Advance.
Adapter configure with LAN Network and Second with WAN Network I want
to bind my remote object with particular WAN IP address .How I can set
WAN IP address to which remote object can be bind.
Following is the code for binding the object
systemProperties.put("java.rmi.server.hostname", WANIP);
Registry reg =
LocateRegistry.createRegistry(Constants.RMI_REGISTRY_PORT);
reg.rebind("My Object", remoteobject);
here is problem my object bind with LAN IP address. When I have set
the WAN IP in System Properties.
Thanks in Advance.