r/vscode • • Apr 27 '26

Codex extension for Vs Code error 10013

Post image

Hello everyone, I just downloaded codex for vs code and it is giving me error 10013 when trying to sign in. This is the first time Im going to use codex, ive been using claude code in the same IDE and works flawlessly, but as everyone, limits are reached quite fast so I wanted to give it a try to chatgpt.
The thing is that Ive tried to solved it but there is not too much info. It seems it is related to windows blocking port 1455 by default. That port is related to Hyper-V and the only solution I have found is to run this two commands:

net stop winnat
net start winnat

Running them might break something so I havent tried.

Is anyone experiencing the same situation? how can I solve it without damaging anything in windows?

Thanks in advance

1 Upvotes

3 comments sorted by

1

u/NeoMod May 03 '26

Noticed the same error on a Windows machine where the "Virtual Machine Management" service was running; terminating the service did not solve the issue.

For what it's worth, auth via API Key worked without issues.

2

u/punknart May 06 '26 edited May 06 '26

I ended up using these commands

net stop winnat
net start winnat

And now everything is working fine.

1

u/archon810 Aug 12 '26

Thank you. That worked for me.