Skip to main content
Private Preview gives you a runtime URL for an HTTP or WebSocket service inside a Running Computer. The service can listen on 127.0.0.1; you do not need to bind it to every interface. The URL itself is an access credential. “Private” means it is intended for your authorized development workflow, not that every visitor must independently sign in. Anyone holding the valid URL can access the exposed web service. Keep it private and use an explicit Share link when anonymous distribution is intended.

Start a service

In the Computer’s terminal, use a directory containing only the example’s public files:
Keep that shell running. The Developer Image includes Python 3. If using another image, verify prerequisites instead of assuming they exist. In another shell inside the same Computer:
Expect Deepest preview is working. A Preview URL cannot make a missing application listener appear. For a service inside Docker, publish its container port to the Computer first. For a background development session you intentionally manage, a terminal multiplexer such as tmux can keep the process separate from your interactive connection. Stop that process when the example is finished; it is not a platform deployment service.

Open the Preview

In the Console, select the Computer, open Apps, enter 3000 in Port, and choose Open preview. An Agent can use the same public operation:
See TypeScript SDK for installation and setup. The response identifies the Computer and port with private_url. Use that returned URL rather than constructing a hostname. Opening the same Computer/port again reuses its current Preview URL while that Preview remains valid. Opening Preview checks that the port is reachable; it does not create, start, deploy, or health-monitor your application.

Verify HTTP and WebSocket behavior

Open the returned URL in your browser, or supply it to a trusted local shell:
Expect HTTP success and your example’s exact text. Check paths, assets, redirects and application behavior, not only the landing page. Preview forwards HTTP paths, queries, methods, and bodies and supports WebSocket upgrades with bidirectional traffic.
Node.js version note: The self-contained verification probe below uses Node.js’s built-in WebSocket global, which requires Node.js 22+ locally. The @deepest/sdk client itself supports Node.js 18+.
If your own application offers an echo WebSocket at /ws, this local Node.js 22+ probe verifies a real message round trip:
The Python static server above is HTTP-only; it does not create /ws. Use your application’s actual WebSocket path and protocol. A successful HTTP GET is not proof that a WebSocket session works. Preview preserves Guest application cookies and application Authorization headers. Those are separate from Deepest’s control credentials. Platform login cookies and Account API Keys must not be sent to runtime pages.

Lifetime and cleanup

After closing, a new request to the old URL should be rejected. Reopening produces a new valid URL; the old one remains invalid. Closing is idempotent: closed: false can mean no current Preview existed. Closing Preview stops new access through that link. It does not stop the application or the Computer, and it does not promise to terminate every already-established WebSocket connection. Stop the example web server separately when finished. Preview is not a stable production URL, a custom-domain feature, or arbitrary TCP/UDP exposure. Private Preview is available for Computers, not Sandboxes. Use only the documented Computer Preview operations. Platform-managed control endpoints cannot be exposed through ordinary Preview.

Diagnose a failed preview

Preview traffic and application work still consume resources. Runtime link creation is not an extra Computer, and closing the link alone does not release running RAM. See Account resources and Network behavior. The exact OpenAPI contract remains in the Preview section of the API reference. For deliberate external delivery, continue with Share.