You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/document/docs/en/shared/config/server/host.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ Specify the host that the Rsbuild Server listens to.
5
5
6
6
By default, the Rsbuild Server will listen to `0.0.0.0`, which means listening to all network interfaces, including `localhost` and public network addresses.
7
7
8
+
You can use `server.host` or the `--host` CLI param to set the host (The priority of `--host` option is higher than `server.host`).
9
+
8
10
If you want the Rsbuild Server to listen only on `localhost`, you can set it to:
0 commit comments