Skip to content

Commit 7ccdb81

Browse files
authored
Merge pull request #293 from hiro-nikaitou/fix/webui-host-default-docs
docs: correct WebUI --host default to loopback
2 parents 8af3254 + b846868 commit 7ccdb81

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,10 @@ python -m skillopt_webui.app
9494
| Flag | Default | Description |
9595
|---|---|---|
9696
| `--port` | 7860 | Server port |
97-
| `--host` | `0.0.0.0` | Bind address |
97+
| `--host` | `127.0.0.1` | Bind address |
9898
| `--share` | off | Create a public Gradio share link |
9999

100-
The default host listens on every network interface. Use
101-
`--host 127.0.0.1` for local-only access.
100+
The default host is loopback-only; pass `--host 0.0.0.0` to expose the dashboard.
102101

103102
---
104103

‎docs/reference/cli.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,7 @@ python -m skillopt_webui.app [--port PORT] [--share]
439439
| Argument | Default | Description |
440440
|---|---|---|
441441
| `--port` | 7860 | Port number |
442-
| `--host` | `0.0.0.0` | Server bind address |
442+
| `--host` | `127.0.0.1` | Server bind address |
443443
| `--share` | false | Create public Gradio link |
444444

445-
The default host binds every network interface. Use `--host 127.0.0.1` when
446-
the dashboard should be reachable only from the local machine.
445+
The default host binds loopback only; pass `--host 0.0.0.0` to expose the dashboard.

0 commit comments

Comments
 (0)