diff --git a/reflex/utils/exec.py b/reflex/utils/exec.py index c67976b23b2..70d6215d8fc 100644 --- a/reflex/utils/exec.py +++ b/reflex/utils/exec.py @@ -159,8 +159,9 @@ def notify_frontend(url: str, backend_present: bool): def notify_backend(): """Output a string notifying where the backend is running.""" + config = get_config() console.print( - f"Backend running at: [bold green]http://0.0.0.0:{get_config().backend_port}[/bold green]" + f"Backend running at: [bold green]http://{config.backend_host}:{config.backend_port}[/bold green]" )