diff --git a/src/main/java/at/joestr/acronis_http_serve/Main.java b/src/main/java/at/joestr/acronis_http_serve/Main.java index ef07059..b56839b 100644 --- a/src/main/java/at/joestr/acronis_http_serve/Main.java +++ b/src/main/java/at/joestr/acronis_http_serve/Main.java @@ -58,7 +58,9 @@ public static void main(String[] args) throws Exception { .connectTimeout(Duration.ofSeconds(5)) .build(); - int port = 8081; + int port = Integer.parseInt( + INSTANCE.config.getProperty("jetty.port") + ); Server server = new Server(port); server.setHandler(new RootHandler()); server.start();