Skip to content

Improve usage description of --host option #574

@terrycojones

Description

@terrycojones

It would be nice if the --host option had a clearer description. I tried to get datasette running on an AWS instance and it took a while to realize it was only listening on localhost. So I wanted to make it listen on an non-localhost interface and tried giving a couple of values to --host (a host name, then an interface name), but none of them did. In the end I read the source to see that the option is passed to uvicorn and looked at the uvicorn docs, which also didn't help. Then I searched the web for "example running datasette on a host" which led me to #514 where I saw someone using -h 0.0.0.0. I tried that and it works. That usage could be mentioned somewhere, and might save someone else some time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions