Web previews
A sandbox’s ports are closed to the outside until you open a web preview of one. It gets its own HTTPS address:
https://<sandbox-id>-<port>.<region>.<domain>- Private (the default): for your organization only. In the console, Open opens it in your browser, signed in to that preview alone for 12 hours. Programs send an API key of your organization; the platform removes the key, and the browser’s sign-in, before passing the request on.
- Public: anyone with the address can open it, for example to show a client a site you’re building. An owner can turn public previews off under Features; each one opened to everyone is recorded in the audit log.
Opening a preview of an asleep sandbox’s port works: the first visit wakes it.
stillbox preview open ws-7k2m9q4x8w3z5r6t 3000 --publicstillbox preview close ws-7k2m9q4x8w3z5r6t 3000