Fixed RMI problem with multiple IP addresses