diff --git a/dev/leaf.toml b/dev/leaf.toml index f623d71c1..2a38e0c88 100644 --- a/dev/leaf.toml +++ b/dev/leaf.toml @@ -5,8 +5,7 @@ level = "debug" [server] # Listen for QUIC connections on UDP:4444 -# Sometimes IPv6 causes issues; try 127.0.0.1:4444 instead. -listen = "[::]:4444" +listen = "0.0.0.0:4444" # Generate a self-signed certificate for the server. # You should use a real certificate in production. @@ -14,7 +13,7 @@ tls.generate = ["localhost"] [web.http] # Listen for HTTP and WebSocket (TCP) connections on the given address. -listen = "[::]:4444" +listen = "0.0.0.0:4444" # This clustering scheme is very very simple for now. # diff --git a/dev/prod.toml b/dev/prod.toml index 40805ca63..dbe2cf983 100644 --- a/dev/prod.toml +++ b/dev/prod.toml @@ -4,7 +4,7 @@ [server] # Listen for QUIC connections on UDP:443 # This is the default port for WebTransport -listen = "[::]:443" +listen = "0.0.0.0:443" [server.tls] # You'll need to provide a real certificate and key in production. @@ -14,11 +14,11 @@ key = "key.pem" #[web.http] # Optionally listen for HTTP and WebSocket connections on port 80. -# listen = "[::]:80" +# listen = "0.0.0.0:80" [web.https] # Optionally listen for TCP/HTTPS/WSS connections on port 443. -listen = "[::]:443" +listen = "0.0.0.0:443" # You'll need to provide a real certificate and key in production. # This can be the exact same certificate and key as the QUIC endpoint. diff --git a/dev/relay.toml b/dev/relay.toml index c954f9ee1..d60af2bee 100644 --- a/dev/relay.toml +++ b/dev/relay.toml @@ -8,8 +8,7 @@ level = "debug" [server] # Listen for QUIC connections on UDP:4443 -# Sometimes IPv6 causes issues; try 127.0.0.1:4443 instead. -listen = "[::]:4443" +listen = "0.0.0.0:4443" # Generate a self-signed certificate for the given hostnames. # This is used for local development, in conjunction with a fingerprint, or with TLS verification disabled. @@ -19,7 +18,7 @@ tls.generate = ["localhost"] # Listen for HTTP and WebSocket connections on the given TCP address. # This is unfortunately required to serve certificate.sha256 for local development. # However, as a bonus, we can serve tracks via both HTTP and WebSocket fallbacks. -listen = "[::]:4443" +listen = "0.0.0.0:4443" # See root.toml and leaf.toml for auth and clustering examples. [auth] diff --git a/dev/root.toml b/dev/root.toml index 8b8140de1..c3d94bfec 100644 --- a/dev/root.toml +++ b/dev/root.toml @@ -5,8 +5,7 @@ level = "debug" [server] # Listen for QUIC connections on UDP:4443 -# Sometimes IPv6 causes issues; try 127.0.0.1:4443 instead. -listen = "[::]:4443" +listen = "0.0.0.0:4443" # Generate a self-signed certificate for the given hostnames. # This is used for local development, in conjunction with a fingerprint, or with TLS verification disabled. @@ -15,7 +14,7 @@ tls.generate = ["localhost"] [web.http] # Listen for HTTP and WebSocket (TCP) connections on the given address. # Defaults to disabled if not provided. -listen = "[::]:4443" +listen = "0.0.0.0:4443" # In production, we would use a real certificate from something like Let's Encrypt. # Multiple certificates are supported; the first one that matches the SNI will be used.