[BUG] OAuth error: listen EACCES: permission denied 0.0.0.0:54545
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other:
- Claude CLI version: 1.0.17
- Operating System: Windows 10
- Terminal: Git bash
Bug Description
I successfully initiated claude, used it for a few days, and then /logout to switch to a different account, upon running claude again and selecting the "Anthropic Console account" login method, it did not give me a new link to the console page. Tried re-installing to no avail.
Steps to Reproduce
/logoutclaude
Expected Behavior
Be presented with a new link to open the console page
Actual Behavior
Prompted by the claude CLI binary: OAuth error: listen EACCES: permission denied 0.0.0.0:54545
Additional Context
We don't currently support git bash as a terminal. Could you try again using WSL?
We don't currently support git bash as a terminal. Could you try again using WSL?
Hey thanks for the answer, I will give WSL a try.
However, it did work after I downloaded and installed it the first time, is there no way I can reset all the side effects created by the first initialisation?
We are working on Windows support without WSL - sorry if you're having issues with it in the meantime.
I tried for HOURS to get Claude Code to work on Windows 11 Pro. WSL also, but I couldn't spend more time trying... Had ChatGPT & Claude Desktop trying to get it work too... Wasted over 12 hours trying... Hopefully it works better on Windows soon...
Solve it: https://stackoverflow.com/a/77499652/2826801
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.