Skip to content

Flower Shows "Visit me at http://0.0.0.0:0" with --port=0 #1449

@woutdenolf

Description

@woutdenolf

Description

When starting Flower with Celery using a dynamic port (--port=0), Flower logs the URL as:

celery -A tasks.app flower --port=0
[I 250816 16:10:10 command:168] Visit me at http://0.0.0.0:0

The port in the URL shows as 0, which is confusing. This happens because --port=0 tells Tornado to let the OS pick a free port, but Flower prints the log before Tornado binds to the port. The actual port is chosen at runtime and isn’t automatically reflected in the log.

Expected Behavior

The log should display the actual port assigned by the OS, e.g.:

[I 250816 16:10:10 command:168] Visit me at http://0.0.0.0:52345

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions