From d8becaf868d1aebf6336631d6e7c348fe477ad8a Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Mon, 12 Oct 2026 10:03:03 +0200 Subject: [PATCH] Advertise the loopback address from the dev LiveKit SFUs The container IP is not routable from the host when Docker runs in a VM (colima, Docker Desktop), so calls against the dev stack drop once ICE fails. Advertising 127.0.0.1 instead lets the browser reach the SFU through the published ports. Firefox ignores loopback candidates, so this only works in Chromium-based browsers. --- backend/dev_livekit-othersite.yaml | 5 +++++ backend/dev_livekit.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/backend/dev_livekit-othersite.yaml b/backend/dev_livekit-othersite.yaml index 53fc9ce94..476ecc45c 100644 --- a/backend/dev_livekit-othersite.yaml +++ b/backend/dev_livekit-othersite.yaml @@ -6,6 +6,11 @@ rtc: port_range_start: 50300 port_range_end: 50400 use_external_ip: false + # Advertise the loopback address instead of the container IP, which is not + # routable from the host when Docker runs in a VM (colima, Docker Desktop). + # The browser then reaches the SFU through the published ports. Firefox + # ignores loopback candidates, so this only works in Chromium-based browsers. + node_ip: 127.0.0.1 turn: enabled: false domain: localhost diff --git a/backend/dev_livekit.yaml b/backend/dev_livekit.yaml index 6cef4241a..576c67589 100644 --- a/backend/dev_livekit.yaml +++ b/backend/dev_livekit.yaml @@ -6,6 +6,11 @@ rtc: port_range_start: 50100 port_range_end: 50200 use_external_ip: false + # Advertise the loopback address instead of the container IP, which is not + # routable from the host when Docker runs in a VM (colima, Docker Desktop). + # The browser then reaches the SFU through the published ports. Firefox + # ignores loopback candidates, so this only works in Chromium-based browsers. + node_ip: 127.0.0.1 turn: enabled: false domain: localhost