Allow RMI to work by setting hostname