Skip to content

exec.py: notify_backend() hardcodes 0.0.0.0, backend_host config shows invalid IP in logs #6165

@daemonicaura

Description

@daemonicaura

Describe the bug
exec.py: notify_backend() hardcodes 0.0.0.0, backend_host config shows invalid IP in logs

To Reproduce

  1. Set backend_host="127.0.0.1" in the project's rxconfig.py file.
  2. Run the project with the command: python -m reflex run.
  3. Check the terminal logs: The log shows "Backend running on 0.0.0.0" (instead of the configured 127.0.0.1), making the backend_host configuration appear invalid.
  • Code/Link to Repo:

Expected behavior
When backend_host="127.0.0.1" is set in rxconfig.py and running python -m reflex run, the terminal log should display "Backend running on 127.0.0.1" (matching the configured backend_host value), instead of the hardcoded 0.0.0.0.

Screenshots

Specifics (please complete the following information):

  • Python Version:
  • Reflex Version: reflex==0.8.27
  • OS:
  • Browser (Optional):

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions