diff --git a/README.md b/README.md index 03696d60..b04ecb2e 100644 --- a/README.md +++ b/README.md @@ -94,11 +94,10 @@ python -m skillopt_webui.app | Flag | Default | Description | |---|---|---| | `--port` | 7860 | Server port | -| `--host` | `0.0.0.0` | Bind address | +| `--host` | `127.0.0.1` | Bind address | | `--share` | off | Create a public Gradio share link | -The default host listens on every network interface. Use -`--host 127.0.0.1` for local-only access. +The default host is loopback-only; pass `--host 0.0.0.0` to expose the dashboard. --- diff --git a/docs/reference/cli.md b/docs/reference/cli.md index ff972443..1cf93f89 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -439,8 +439,7 @@ python -m skillopt_webui.app [--port PORT] [--share] | Argument | Default | Description | |---|---|---| | `--port` | 7860 | Port number | -| `--host` | `0.0.0.0` | Server bind address | +| `--host` | `127.0.0.1` | Server bind address | | `--share` | false | Create public Gradio link | -The default host binds every network interface. Use `--host 127.0.0.1` when -the dashboard should be reachable only from the local machine. +The default host binds loopback only; pass `--host 0.0.0.0` to expose the dashboard.