Skip to main content

Exposing a Port

Create a public HTTPS URL that proxies traffic to a port inside your sandbox:

Sharing a Dev Server

Start a server inside the sandbox, expose it, and share the URL:

Multiple Ports

Expose multiple services from the same sandbox:

Custom Domains

Pass --domain to use your own domain. DNS must point to OpenComputer’s ingress, and the domain must be verified in the dashboard. SSL is provisioned automatically.

Cleanup

Preview URLs persist across hibernation/wake cycles — no need to re-create them.

Bearer-Token Authentication

By default, anyone who knows the preview hostname can hit your sandbox’s port. To require an Authorization: Bearer <token> header on every request, opt in at create time:
Then call your preview URL with the token:
Bring your own token if your gateway already has a shared secret:
Rotate the token (old one stops working immediately):
Token is shown exactly once and only its SHA-256 hash is stored. See Authentication for the SDK equivalents.
SDK usage: Preview URLs. Full flags: CLI Reference.