Cant login due to vmware <-> localhost issue

Resolved 💬 2 comments Opened Aug 25, 2025 by qodeninja Closed Aug 25, 2025

What version of Codex is running?

codex-cli 0.23.0

Which model were you using?

na

What platform is your computer?

win11

What steps can reproduce the bug?

Cant login to Codex from vmware/vm Ubuntu instance on Windows, due to the use of localhost in the browser.

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

MMZOX · 1 year ago

you need forward port 1455

qodeninja · 1 year ago

Yeah that didnt work. What I had to do was manually pass the URI from the browser to the terminal and doing a curl call locally. Codex wasnt listening to my VM's ip and was locked to 127.0.0.1. Curl to localhost got me auth.json

Such a pain in the butt.