diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/controller/Controller.kt b/client/src/main/kotlin/org/hso/texturesyncclient/controller/Controller.kt index 4b2fac5..4bc6fe3 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/controller/Controller.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/controller/Controller.kt @@ -92,6 +92,7 @@ class RootController : Controller() { if (SettingsController.serverAddressIsSet()) { println("[file] try connect with settings file") try { + svc.setServerAddress(SettingsController.getServerAddress()) con = Connection(InetAddress.getByName(SettingsController.getServerAddress())) con.ping() println("[file] Connection to Server successful")