Skip to main content

Expose a port

When a process is listening on a port inside your sandbox, use expose to make it reachable from the internet:
The command returns a preview URL you can open in a browser or share with others.
Valid port range: 1025–65535.

SDK

Unexpose a port

Remove public access to a port:

SDK

List exposed ports

SDK

VS Code in the browser

Expose a browser-based VS Code server running inside your sandbox:
Aliases: code, code-server

SDK

Tailscale (mesh networking)

For private networking between sandboxes, Pocketenv supports Tailscale:

SDK

API