Skip to content

Commit

Permalink
fix: listen on 0.0.0.0 instead of localhost
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
  • Loading branch information
aasseman committed Jan 11, 2024
1 parent 9fe2ad2 commit eba1f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_aggregator/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ pub async fn run_server(
.max_response_body_size(max_response_body_size)
.max_connections(max_concurrent_connections)
.http_only()
.build(format!("127.0.0.1:{}", port))
.build(format!("0.0.0.0:{}", port))
.await?;
let addr = server.local_addr()?;
println!("Listening on: {}", addr);
Expand Down

0 comments on commit eba1f87

Please sign in to comment.