Fix RMI for external connections.