From 75a0343c3328e198874d08413ac69162b43942e2 Mon Sep 17 00:00:00 2001 From: hynseok Date: Mon, 4 Nov 2024 02:53:54 +0900 Subject: [PATCH] backend: fix bind addr --- backend/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main.rs b/backend/src/main.rs index c747787..6b6c33d 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -4,7 +4,7 @@ use std::net::TcpListener; #[tokio::main] async fn main() -> std::io::Result<()> { let config = get_configuration().expect("Failed to read configuration."); - let address = format!("127.0.0.1:{}", config.application_port); + let address = format!("0.0.0.0:{}", config.application_port); let listener = TcpListener::bind(address)?; run(listener)?.await