From b3a4992936907f8a5462defff122bf5874260dae Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 11 Oct 2023 23:55:14 +0300 Subject: [PATCH] port-80-2 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3fac7f6..c1cb456 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,7 +131,7 @@ async fn main() -> std::io::Result<()> { .app_data(web::Data::new(state.clone())) .route("/", web::get().to(connect_handler)) }) - .bind("127.0.0.1")? + .bind("127.0.0.1:80")? .run() .await }