fix: 127.0.0.1 -> 0.0.0.0

This commit is contained in:
Xorycode 2024-04-14 11:47:49 +03:00
parent 51b9f1cbe9
commit e6ed4f1ae0

View file

@ -2,7 +2,7 @@ use std::net;
use pasternakd::handle_client; use pasternakd::handle_client;
fn main() { 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"); .expect("Failed to listen on port 8492");
println!("Listening on port 8492"); println!("Listening on port 8492");