From f5c10cd30d274d457e0a430c384d7672501c6bf3 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Tue, 9 Mar 2021 18:30:09 +0100 Subject: [PATCH] Listen on non-localhost address Also assigned a more random port --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index efb50be..5bc9699 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ lazy_static! { #[tokio::main] async fn main() { register_custom_metrics(); - let addr = ([127, 0, 0, 1], 8080).into(); + let addr = ([0, 0, 0, 0], 16289).into(); println!("Listening on http://{}", addr); tokio::task::spawn(data_collector());