From 65b92f85325ae17daa12077407066002af4e05fc Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Tue, 26 Sep 2023 22:04:01 +0200 Subject: [PATCH] only listen locally --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 45cff86..93483da 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,7 +49,7 @@ async fn main() { .route("/healthcheck", get(healthcheck)); // run it with hyper on localhost:3000 - axum::Server::bind(&"0.0.0.0:3003".parse().unwrap()) + axum::Server::bind(&"127.0.0.1:3003".parse().unwrap()) .serve(app.into_make_service()) .await .unwrap();