Today, the RMI registry will not let you specify an interface to which
to bind to. By default it will bind to 0.0.0.0 and listen to all interfaces.
Furthermore, the host value placed in the remote stub for an exported remote object is the IP address of the InetAddress returned from an invocation of the InetAddress.getLocalHost method.
There's an RFE logged against RMI for this: 4880793.
The desired behaviour can be achieved by starting the RMI Connector Server
programmatically - instead of using the out-of-the-box System properties.
To achieve the desired effect, you would have to supply customs RMI
Socket Factories to the created Connector Server.
More detailed informations is available in the evaluation of 4880793.