From a17ca1c1b1fb94ae43115440989fb29bb0d00d3b Mon Sep 17 00:00:00 2001 From: Song Gao Date: Thu, 29 Aug 2024 10:54:02 +0800 Subject: [PATCH] change host Signed-off-by: Song Gao --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ffa293a..8e54e49 100644 --- a/src/main.rs +++ b/src/main.rs @@ -198,7 +198,7 @@ pub async fn main() { .unwrap(); start_collecting_metric(); let app = app(); - let http_addr = "127.0.0.1:3030"; + let http_addr = "0.0.0.0:3030"; let listener = tokio::net::TcpListener::bind(http_addr).await.unwrap(); info!("HTTP listening to {}", http_addr); axum::serve(listener, app).await.unwrap();