From 7ef5e79620f043522ff0dacc260af1fe83e5d77e Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Wed, 11 Oct 2023 01:44:47 +0100 Subject: [PATCH] fix: listen on ip6 addresses (#271) --- packages/helia/src/utils/libp2p-defaults.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/helia/src/utils/libp2p-defaults.ts b/packages/helia/src/utils/libp2p-defaults.ts index 8e9c78f6b..b55fe4c9a 100644 --- a/packages/helia/src/utils/libp2p-defaults.ts +++ b/packages/helia/src/utils/libp2p-defaults.ts @@ -37,6 +37,7 @@ export function libp2pDefaults (): Libp2pOptions { addresses: { listen: [ '/ip4/0.0.0.0/tcp/0', + '/ip6/::/tcp/0', '/webrtc' ] },