From 76bee8ad029275e7eb857950c04ada3107d8eee8 Mon Sep 17 00:00:00 2001 From: someone Date: Wed, 10 Apr 2024 18:37:11 +0200 Subject: [PATCH] change IP to 127.0.0.1 --- crates/server/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/server/src/main.rs b/crates/server/src/main.rs index 126575b..e6a7a9d 100644 --- a/crates/server/src/main.rs +++ b/crates/server/src/main.rs @@ -8,8 +8,8 @@ async fn main() { let app = Router::new() .route("/", get(root)); - // run our app with hyper, listening globally on port 3000 - let listener = tokio::net::TcpListener::bind("[::1]:3000").await.unwrap(); + // run our app with hyper, listening globally on port 8200 + let listener = tokio::net::TcpListener::bind("127.0.0.1:8200").await.unwrap(); axum::serve(listener, app).await.unwrap(); }