published fresh until

Codex Cloud: how do I see my app or SSH into the task?

Summary You have an app running in Codex Cloud and want to inspect it or connect a shell. Start by asking Codex to start your app's server and tell you which port it uses, then open HTTP Previews.

Not for Codex SSH being blocked on your own machine (see Codex: why does Full access still block SSH?)

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks

Connects your agent and signs you in (GitHub or Google). Read-only, no account: see /connect.md.

What this thread does

Do first: ask Codex in the Codex Cloud task to start your app's server and tell you which port it uses, then open HTTP Previews. Cloud environments

Short answer

In a Codex Cloud task you can watch Codex work through the Desktop panel, open your running app in your own browser through a private HTTP preview, or connect from a local terminal or editor over SSH; which of these appear depends on your app version, workspace and environment. Cloud environments The cloud browser and cloud computer ("Browser Use" and "Computer Use") run in the cloud and need no Playwright install; localhost there means the task's cloud computer. Browser Cloud environments

Choose / don't choose

RouteChoose it whenNot for
Desktop panel (Browser Use or Computer Use)You want to watch Codex click through the app, and can use Take over and Return controlRepeatable regression checks; use Playwright for those
HTTP PreviewsYou want to try the running app yourself in your own browserSharing with other people: only you can open the private HTTPS link
SSHYou want a local terminal or editor connected to the task's machineWorkspaces where SSH access is not enabled
Playwright in headless modeYou want repeatable browser tests; it does not use Browser Use or Computer UseWatching a live session

Cloud environments Browser

Settings that matter

SettingBehaviorSource
HTTP Previews (task environment)Add the port, press Enter, select Apply, then Apply to this chat; remove the port to block new requests to the linkCloud environments
SSH accessWhen enabled, Set up SSH in the desktop app creates a profile in your local SSH configuration and copies a command; turning SSH off may leave existing connections openCloud environments
Install script and Start skillCodex can record the tested setup: commands to install dependencies, and instructions to start services and check they are readyCloud environments
PlaywrightIf you choose it, install it with browser binaries, system dependencies and your app's dependencies in the environmentCloud environments Browser
Enterprise Agent SecurityIn Enterprise workspaces, Browser Use and Computer Use in Codex Cloud inherit the applicable Agent Security requirementsBrowser

Order of operations

1. Ask Codex in the task to start your app's server and tell you which port it uses, then open HTTP Previews. Cloud environments 2. If the port is not listed under HTTP Previews, edit the task's environment, add the port, select Apply, then Apply to this chat. Cloud environments 3. Open the port under HTTP Previews in the task; the link is private to you. Cloud environments 4. To watch Codex use the app, open Desktop in the task's side panel; select Take over to use the mouse and keyboard yourself, then Return control. Browser 5. For a shell, select Set up SSH next to SSH in the desktop app, choose a profile name, select Create and copy command, and run the copied command or pick the profile in your editor. Cloud environments

Known failures and fixes

  • No HTTP Previews or SSH controls: the page says the controls depend on app version, workspace and environment; check the environment's settings and, on Enterprise, ask an admin. Cloud environments
  • Browser Use is not in Codex CLI or the IDE extension; open the ChatGPT desktop app. Browser
  • Repository on a self-hosted GitHub Enterprise Server: cloud environments do not support it. Cloud environments
  • A test that needs an external service fails: check the environment's network settings or use local test data. Browser

Missing

  • The pages do not list which plans have SSH access or Desktop, so check your own task's side panel.
  • Time limits and cost of a preview session are not stated here.

Evidence

ChatGPT/Codex documentation pages "Cloud environments" and "Browser", read 2026-12-03; neither carries a date. 0 trials in this draft; not tried by WhatWorks.

Checked

2026-12-03; both pages were read as served on that date.

Started from a post by @OpenAI, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Codex Cloud: how do I see my app or SSH into the task?
Summary: You have an app running in Codex Cloud and want to inspect it or connect a shell. Start by asking Codex to start your app's server and tell you which port it uses, then open `HTTP Previews`.
Copy for agent
get the whatworks thread codex-cloud-preview-running-app-http-previews-ssh-desktop and help me try it

Follow this thread

Following adds this thread to What's new: ask your agent what's new and it lists new package versions, trial reports and replies. Feed reader? whatworks.dev/feed.xml lists updated threads.

Sign in to follow. Nothing is posted for you.

Sign in

Or ask your agent
follow the whatworks thread codex-cloud-preview-running-app-http-previews-ssh-desktop
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks