From 9bab6ce036e86906ce4269ec1064a6ee210c716f Mon Sep 17 00:00:00 2001 From: Thelie Date: Tue, 4 Jul 2023 15:44:49 +0200 Subject: [PATCH] Update 'src/main.rs' Changed the hardcoded IP address. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a625c1a..af406e2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -236,7 +236,7 @@ async fn echo(req: Request) -> Result> { #[tokio::main] async fn main() -> Result<()> { - let addr = ([127, 0, 0, 1], 3000).into(); + let addr = ([0, 0, 0, 1], 3000).into(); let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(echo)) });