[BUG] OAuth port 54545 conflicts with macOS mobileactivationd and unable to change ports
Resolved 💬 13 comments Opened Jun 25, 2025 by ant-solo Closed Aug 25, 2025
Environment
- Platform (select one):
- [X] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.34 (Claude Code)
- Operating System: macOS 15.3.1
- Terminal: MacOS default Terminal
Bug Description
When I run Claude from the terminal, it takes me through the setup and when I once I've selected a login method, it tells me that the port 54545 is already in use.
The process that's using that port is a Mac process so I'm unable to change the port that uses and there is no port configuration that I can find for claude.
So I'm unable to use claude at all.
Steps to Reproduce
Step 1 - Dark Mode
Step 2 - Select Login Method - I select "Claude account with subscription"
Expected Behavior
Explained above
Actual Behavior
Prevented from using claude due to a port conflict.
Additional Context
I ran "lsof -i :54545" and it reports that "mobileactivationd" is occupying the port.
This issue has 13 comments on GitHub. Read the full discussion on GitHub ↗