Fix: Firewall blocks RMI connection
This commit is contained in:
@@ -123,6 +123,7 @@ public class ServerLauncher {
|
|||||||
}).start();
|
}).start();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
System.setProperty("java.rmi.server.port", "1100");
|
||||||
serverRMI.start();
|
serverRMI.start();
|
||||||
new Thread(()->{serverTCP.start();}).start();
|
new Thread(()->{serverTCP.start();}).start();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user