Skip to content

Commit f684685

Browse files
docs(sandboxes): use positional [bind_address:]port in IPv6 forward example
`openshell forward start` has no -b/--bind-addr option; the bind address is passed positionally as [bind_address:]port. Update the prose and command so the example parses (openshell forward start ::1:8000 my-sandbox). Signed-off-by: Andrew White <andrewh@cdw.com>
1 parent a58f668 commit f684685

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/sandboxes/manage-sandboxes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,10 @@ openshell forward start 8000 my-sandbox -d # run in background
361361
362362
OpenShell prints the local URL only after the forward listener is reachable. Background forwards must be tracked locally so `openshell forward list` and `openshell forward stop` can manage them.
363363
364-
To bind the local side to an IPv6 loopback address, use `-b`/`--bind-addr`. IPv6 addresses are bracketed in both the SSH forward argument and the printed access URL:
364+
To bind the local side to an IPv6 loopback address, pass it positionally as `[bind_address:]port`. IPv6 addresses are bracketed in both the SSH forward argument and the printed access URL:
365365
366366
```shell
367-
openshell forward start 8000 my-sandbox -b ::1
367+
openshell forward start ::1:8000 my-sandbox
368368
# Local URL: http://[::1]:8000/
369369
```
370370

0 commit comments

Comments
 (0)