diff --git a/cmd/crates/stellar-ledger/tests/test/emulator_tests.rs b/cmd/crates/stellar-ledger/tests/test/emulator_tests.rs index 7a7d91883..6e9235bb4 100644 --- a/cmd/crates/stellar-ledger/tests/test/emulator_tests.rs +++ b/cmd/crates/stellar-ledger/tests/test/emulator_tests.rs @@ -354,7 +354,7 @@ fn get_available_ports(n: usize) -> (u16, u16) { let mut ports = Vec::with_capacity(n); while ports.len() < n { if let Some(port) = range.next() { - if let Ok(listener) = TcpListener::bind(("127.0.0.1", port)) { + if let Ok(listener) = TcpListener::bind(("0.0.0.0", port)) { ports.push(port); drop(listener); }