Skip to content

Commit

Permalink
Changed ip addressed that is listened to from 127.0.0.1 to 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JoukoVirtanen committed Sep 30, 2023
1 parent 2205db8 commit c3938b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker/endpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c3938b9

Please sign in to comment.