diff --git a/stun/examples/stun_client.rs b/stun/examples/stun_client.rs index 48e2c0415..2529eaac7 100644 --- a/stun/examples/stun_client.rs +++ b/stun/examples/stun_client.rs @@ -39,7 +39,7 @@ async fn main() -> Result<(), Error> { let (handler_tx, mut handler_rx) = tokio::sync::mpsc::unbounded_channel(); - let conn = UdpSocket::bind("0:0").await?; + let conn = UdpSocket::bind("0.0.0.0:0").await?; println!("Local address: {}", conn.local_addr()?); println!("Connecting to: {server}");