From d17087182c2308452ec447559d11bed7805d48de Mon Sep 17 00:00:00 2001 From: Thelie Date: Tue, 4 Jul 2023 15:56:17 +0200 Subject: [PATCH] Update 'src/main.rs' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Whoops wrong address… --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index af406e2..edf6be9 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 = ([0, 0, 0, 1], 3000).into(); + let addr = ([0, 0, 0, 0], 3000).into(); let service = make_service_fn(|_| async { Ok::<_, hyper::Error>(service_fn(echo)) });