From 38e056515b0488c2aa132825d844a7fa1f89b7c6 Mon Sep 17 00:00:00 2001 From: Ben Borla Date: Thu, 29 Aug 2024 15:19:19 +0800 Subject: [PATCH] updated bind --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c477108..af517e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,7 @@ async fn main() { match run_app().await { Ok(app) => { - let listener = tokio::net::TcpListener::bind("0.0.0.0:3380").await.unwrap(); + let listener = tokio::net::TcpListener::bind("[::]:3380").await.unwrap(); axum::serve(listener, app.into_make_service()) .await .unwrap();