From eb80c06198dbd6a25e8dfd2bc7d4ae26c3e02202 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Wed, 18 Jan 2023 20:24:27 +0200 Subject: [PATCH] fix: bind ip was wrong lol --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 33792de..45ba3ce 100644 --- a/src/main.rs +++ b/src/main.rs @@ -96,7 +96,7 @@ async fn random(args: web::Path) -> impl Responder { async fn main() -> std::io::Result<()> { log::info!("startedth uppeth"); HttpServer::new(|| App::new().service(random)) - .bind(("127.0.0.1", 3000))? + .bind(("0.0.0.0", 3000))? .run() .await } -- 2.44.1