peach serve
Host the WS bridge in the foreground. This is mainly for development or diagnosis. peach open starts a local bridge when needed; peach daemon install enables the faster persistent service for local work. The listener defaults to 127.0.0.1. In a container, use --host 0.0.0.0 so the fronting reverse proxy can reach it. Bundle proxy targets remain restricted to loopback inside the container.
peach serve [options]Options
| Flag | Description |
|---|---|
--port <number> | bridge port (defaults to 7668) |
--host <address> | listener address (defaults to 127.0.0.1) |
-q, --quiet | suppress per-connection logging |
--exit-when-unused | the starting process holds stdin; once it closes, exit after no simulator or request has used the bridge for 10 s, or 180 s when nothing has yet |
Examples
peach serve
peach serve --quiet
peach serve --port 7668
peach serve --host 0.0.0.0