Skip to main content

Posts

Featured

Your Cloud Coding Agent Can't See Localhost: Previewing Your App from Codex, Claude Code on the Web, and Jules

You start your dev server, open localhost:3000 , and the app looks right. Then you ask a cloud coding agent to check the layout, and it reports a refused connection. Or it describes a page that clearly isn't yours. Nothing is broken. "Localhost" means "this machine," and the agent's "this machine" is a sandbox in someone else's data center. This guide explains why, what OpenAI Codex, Claude Code on the web, and Google's Jules offer today (as of November 29, 2026), and three fixes: tunnel the port, run the project inside the agent's sandbox, or deploy to a temporary public URL. Scope: this covers the agent's browser or HTTP client reaching your dev server, and the reverse. Agent-to-server tool calls over MCP are a different problem, covered in our MCP posts. Quick answer Why it fails: localhost and 127.0.0.1 always point at the machine running the process. For a cloud agent, that is its own VM or container, not your lapto...

Latest Posts

Sign in with Apple Needs a Real Domain: Return URLs and Testing Through a Tunnel

The Webhook Allowlist That Went Stale: Provider IP Ranges Change Under You

Your Deep Link Opens Safari, Not Your App: Testing Universal Links and Android App Links Through a Tunnel

Your Webhook Got Switched Off While Your Laptop Slept: Webhook Auto-Disable Rules by Provider (2026)