From ca0e8afce4a4b5430631020648894215865fe838 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Fri, 16 Dec 2022 11:20:13 +0000 Subject: [PATCH] feat: change default http tracker port to 7070 Azure Container Instances do not allow you to open the same port as UDP and TCP. --- README.md | 2 +- src/config.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index beb2591e..4e464dd6 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ bind_address = "0.0.0.0:6969" [[http_trackers]] enabled = true -bind_address = "0.0.0.0:6969" +bind_address = "0.0.0.0:7070" ssl_enabled = false ssl_cert_path = "" ssl_key_path = "" diff --git a/src/config.rs b/src/config.rs index 66def17c..d56c2d34 100644 --- a/src/config.rs +++ b/src/config.rs @@ -123,7 +123,7 @@ impl Default for Configuration { }); configuration.http_trackers.push(HttpTracker { enabled: false, - bind_address: String::from("0.0.0.0:6969"), + bind_address: String::from("0.0.0.0:7070"), ssl_enabled: false, ssl_cert_path: None, ssl_key_path: None, @@ -210,7 +210,7 @@ mod tests { [[http_trackers]] enabled = false - bind_address = "0.0.0.0:6969" + bind_address = "0.0.0.0:7070" ssl_enabled = false ssl_cert_path = "" ssl_key_path = ""