Skip to content

Commit c3938b9

Browse files
committed
Changed ip addressed that is listened to from 127.0.0.1 to 0.0.0.0
1 parent 2205db8 commit c3938b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker/endpoints.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl Display for EndpointWorker {
7171
}
7272

7373
fn listen(port: usize, sleep: u64) -> std::io::Result<()> {
74-
let addr = format!("127.0.0.1:{port}");
74+
let addr = format!("0.0.0.0:{port}");
7575
let listener = TcpListener::bind(addr)?;
7676

7777
let _res = listener.incoming();

0 commit comments

Comments
 (0)