Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Console] server:status doesn't work as expected when custom IP is used #18810

Closed
@aledeg

Description

@aledeg

I have a built-in web-server running on 0.0.0.0:8000 which I've launch with the following command:

bin/console server:start 0.0.0.0

When I try to get it's status with the following command, it doesn't work:

bin/console server:status 0.0.0.0

# I receive that error message
# [WARNING] No web server is listening on http://0.0.0.0

But if I try the following command, it works:

bin/console server:status 0.0.0.0:8000

# I receive that message
# [OK] Web server listening on http://0.0.0.0:8000

I think, that the command should work like the others and use the default port if none is specified.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions