fix: 127.0.0.1 -> 0.0.0.0
This commit is contained in:
parent
51b9f1cbe9
commit
e6ed4f1ae0
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue