From a8551da720a1cc11992496152c7b3d1fbf3a44a8 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 8 Feb 2023 17:52:44 +0000 Subject: [PATCH] Its 2023, its time to support v6 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 57da6d1..5bc3662 100644 --- a/src/main.rs +++ b/src/main.rs @@ -617,7 +617,7 @@ async fn start_ldk() { let stop_listen_connect = Arc::new(AtomicBool::new(false)); let stop_listen = Arc::clone(&stop_listen_connect); tokio::spawn(async move { - let listener = tokio::net::TcpListener::bind(format!("0.0.0.0:{}", listening_port)) + let listener = tokio::net::TcpListener::bind(format!("[::]:{}", listening_port)) .await .expect("Failed to bind to listen port - is something else already listening on it?"); loop { -- 2.39.5