#Codex browser cannot access localhost servers started by Codex terminal sessions

1 messages · Page 1 of 1 (latest)

deep matrixBOT
#

Reported by @zinc willow

Bug Report: Codex browser cannot access localhost servers started by Codex terminal sessions
`Steps to Reproduce`
  1. Open a local web app project in Codex desktop.
  2. Run npm run dev in the Codex terminal.
  3. Open http://localhost:3000 with the Codex browser tool.
  4. Run curl -I http://127.0.0.1:3000 in the Codex terminal.
  5. Repeat the same commands outside Codex in a normal terminal.
`Expected Result`

If a local server is started from Codex and reports as ready on localhost, the Codex browser tool should be able to access it, and localhost requests from the Codex terminal should also succeed.

`Actual Result`

The server appears to start successfully inside Codex, but the Codex browser tool returns ERR_CONNECTION_REFUSED, and localhost requests from the Codex terminal also fail. The exact same app and commands work normally outside Codex, which suggests a localhost/network isolation issue between the Codex terminal runtime and the Codex browser tool.

`Environment`

Codex desktop app, macOS Tahoe Version 26.3.1 (a), Codex Version 26.325.21211 (1255)