From 01b9272867c135d054c3cabc7f30c6aa8186840f Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 25 Jul 2020 00:43:22 -0400 Subject: [PATCH] 8001 not valid radix?! --- .../io/src/main/java/com/rusefi/tools/online/HttpUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */