This is an automated email from the ASF dual-hosted git repository.
vatsrahul1001 pushed a commit to branch v3-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 5a8ef95a5efc13b302bb2f0a9d50605356230b37
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue May 26 01:58:33 2026 +0530
[v3-2-test] fix localhost access regression in dual-stack API server
startup (#67370) (#67480)
(cherry picked from commit 29510e45cd3aee7df5ba0ed32424d3e1f4f003c3)
Co-authored-by: Zhen-Lun (Kevin) Hong <[email protected]>
---
scripts/in_container/bin/generate_mprocs_config.py | 4 +++-
scripts/in_container/bin/run_tmux | 6 +++---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/scripts/in_container/bin/generate_mprocs_config.py
b/scripts/in_container/bin/generate_mprocs_config.py
index e89643d0668..3c0396b6a27 100755
--- a/scripts/in_container/bin/generate_mprocs_config.py
+++ b/scripts/in_container/bin/generate_mprocs_config.py
@@ -71,7 +71,9 @@ def generate_mprocs_config() -> str:
# forwards both IPv4 and IPv6 host ports into the container). The
default `0.0.0.0`
# binds IPv4 only, causing the IPv6 attempt to land inside the
container with no
# listener and TCP RST → opaque chrome-error://chromewebdata/ page.
- api_host_arg = "--host '::'"
+
+ # If host is empty or None, uvicorn listens on all available (IPv4 and
IPv6) interfaces.
+ api_host_arg = "--host ''"
if get_env_bool("BREEZE_DEBUG_APISERVER"):
port = get_env("BREEZE_DEBUG_APISERVER_PORT", "5679")
api_cmd = (
diff --git a/scripts/in_container/bin/run_tmux
b/scripts/in_container/bin/run_tmux
index b13ee81289a..3dc190e0e46 100755
--- a/scripts/in_container/bin/run_tmux
+++ b/scripts/in_container/bin/run_tmux
@@ -70,13 +70,13 @@ if [[ ! ${USE_AIRFLOW_VERSION=} =~ ^2\..* ]]; then
# IPv4 and IPv6 host ports into the container). The default `0.0.0.0`
binds IPv4 only.
if [[ ${BREEZE_DEBUG_APISERVER} == "true" ]]; then
tmux set-option -p @airflow_component "API Server(Debug Mode)"
- tmux send-keys "debugpy --listen
0.0.0.0:${BREEZE_DEBUG_APISERVER_PORT} --wait-for-client -m airflow api-server
--host '::' -d" C-m
+ tmux send-keys "debugpy --listen
0.0.0.0:${BREEZE_DEBUG_APISERVER_PORT} --wait-for-client -m airflow api-server
--host '' -d" C-m
else
tmux set-option -p @airflow_component "API Server"
if [[ ${DEV_MODE=} == "true" ]]; then
- tmux send-keys "airflow api-server --host '::' -d" C-m
+ tmux send-keys "airflow api-server --host '' -d" C-m
else
- tmux send-keys "airflow api-server --host '::'" C-m
+ tmux send-keys "airflow api-server --host ''" C-m
fi
fi
else