Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Web preview

In the app: Projects → project title → environment title → Preview

Web preview opens a development server running inside an environment without publishing its container port directly on the host.

Start a preview

  1. Start the application in a terminal on a non-privileged port, listening on environment loopback or the address required by your framework.
  2. Open the environment’s preview action.
  3. Enter the application port.
  4. Open the generated private preview URL.

Expected result: the application opens on its own authenticated preview host. The port remains private to the environment and is not published directly on the Code as Usual server.

Two environments may use the same port. The preview is routed by environment, not by a globally allocated host port.

Access and lifetime

Preview access requires a current Code as Usual browser login. Logging out revokes previews opened by that login. Stopping the environment closes all its preview relays. Closing the terminal that started the server does not by itself revoke the preview if the process continues running.

The installation administrator must configure wildcard DNS and TLS for the preview base domain.