From e6ed4f1ae09e0b2c3848e8a96b25729e7acb48c3 Mon Sep 17 00:00:00 2001 From: Xorycode Date: Sun, 14 Apr 2024 11:47:49 +0300 Subject: [PATCH] fix: 127.0.0.1 -> 0.0.0.0 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ab9d40d..a2e08a0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,7 @@ use std::net; use pasternakd::handle_client; fn main() { - let listener = net::TcpListener::bind("127.0.0.1:8492") + let listener = net::TcpListener::bind("0.0.0.0:8492") .expect("Failed to listen on port 8492"); println!("Listening on port 8492");