diff --git a/java_console/io/src/main/java/com/rusefi/tools/online/HttpUtil.java b/java_console/io/src/main/java/com/rusefi/tools/online/HttpUtil.java index 8f1f6302c3..2d9bb50a85 100644 --- a/java_console/io/src/main/java/com/rusefi/tools/online/HttpUtil.java +++ b/java_console/io/src/main/java/com/rusefi/tools/online/HttpUtil.java @@ -23,7 +23,7 @@ public class HttpUtil { // todo: migrate proxy http json API server to TLS public static final String RUSEFI_PROXY_JSON_PROTOCOL = "http://"; - public static final int PROXY_JSON_API_HTTP_PORT = Integer.parseInt("http.port", 8001); + public static final int PROXY_JSON_API_HTTP_PORT = Integer.parseInt(System.getProperty("http.port", "8001")); /** * hostname of PROXY server, not primary rusEFI web server - those are two separate hosts at the moment */