diff --git a/src/worker/endpoints.rs b/src/worker/endpoints.rs index 4953e08..78ee79d 100644 --- a/src/worker/endpoints.rs +++ b/src/worker/endpoints.rs @@ -71,7 +71,7 @@ impl Display for EndpointWorker { } fn listen(port: usize, sleep: u64) -> std::io::Result<()> { - let addr = format!("127.0.0.1:{port}"); + let addr = format!("0.0.0.0:{port}"); let listener = TcpListener::bind(addr)?; let _res = listener.incoming();