claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] OAuth error: listen EACCES: permission denied 0.0.0.0:54545

Open imding opened this issue 6 months ago • 2 comments

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

  1. /logout
  2. claude

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

Image

imding avatar Jun 09 '25 13:06 imding

We don't currently support git bash as a terminal. Could you try again using WSL?

igorkofman avatar Jun 09 '25 20:06 igorkofman

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?

imding avatar Jun 10 '25 02:06 imding

We are working on Windows support without WSL - sorry if you're having issues with it in the meantime.

igorkofman avatar Jun 15 '25 04:06 igorkofman

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...

NewSunSEO avatar Jul 16 '25 04:07 NewSunSEO

Solve it: https://stackoverflow.com/a/77499652/2826801

nikkoxgonzales avatar Aug 04 '25 11:08 nikkoxgonzales

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.

github-actions[bot] avatar Aug 11 '25 14:08 github-actions[bot]