From eba1f87fda203884bfc5d3f617bb2c0c823309ac Mon Sep 17 00:00:00 2001 From: Alexis Asseman Date: Thu, 11 Jan 2024 11:18:51 -0800 Subject: [PATCH] fix: listen on 0.0.0.0 instead of localhost Signed-off-by: Alexis Asseman --- tap_aggregator/src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_aggregator/src/server.rs b/tap_aggregator/src/server.rs index f8f769d8..e2ed6ac6 100644 --- a/tap_aggregator/src/server.rs +++ b/tap_aggregator/src/server.rs @@ -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);