Skip to content

Commit

Permalink
feat: change default http tracker port to 7070
Browse files Browse the repository at this point in the history
Azure Container Instances do not allow you to open the same port as UDP
and TCP.
  • Loading branch information
josecelano committed Dec 16, 2022
1 parent b1ec9df commit ca0e8af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 = ""
Expand Down

0 comments on commit ca0e8af

Please sign in to comment.