From 1af041cd830ed5497b3e06f38d2eff005360538a Mon Sep 17 00:00:00 2001 From: Yun Date: Thu, 1 Feb 2024 13:24:11 -1000 Subject: [PATCH] Torii bind default addr to 0.0.0.0 (#1509) --- bin/torii/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/torii/src/main.rs b/bin/torii/src/main.rs index 3f6ff972e8..70edffdaa2 100644 --- a/bin/torii/src/main.rs +++ b/bin/torii/src/main.rs @@ -62,7 +62,7 @@ struct Args { start_block: u64, /// Address to serve api endpoints at. - #[arg(long, value_name = "SOCKET", default_value = ":8080", value_parser = parse_socket_address)] + #[arg(long, value_name = "SOCKET", default_value = "0.0.0.0:8080", value_parser = parse_socket_address)] addr: SocketAddr, /// Port to serve Libp2p TCP & UDP Quic transports