diff --git a/src/backend/base/langflow/__main__.py b/src/backend/base/langflow/__main__.py index e524886ce..a1932baed 100644 --- a/src/backend/base/langflow/__main__.py +++ b/src/backend/base/langflow/__main__.py @@ -415,7 +415,8 @@ def print_banner(host: str, port: int, protocol: str) -> None: "To contribute, set: [bold]DO_NOT_TRACK=false[/bold] in your environment." ) ) - access_link = f"[bold]🟢 Open Langflow →[/bold] [link={protocol}://{host}:{port}]{protocol}://{host}:{port}[/link]" + access_host = host if host != "0.0.0.0" else "localhost" + access_link = f"[bold]🟢 Open Langflow →[/bold] [link={protocol}://{access_host}:{port}]{protocol}://{access_host}:{port}[/link]" message = f"{title}\n{info_text}\n\n{telemetry_text}\n\n{access_link}"