[BUG] Cannot use claude code in phpstorm : API error
Open 💬 0 comments Opened Jun 25, 2026 by freddoMercuro
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
the auto update failes in claude code within phpstorm, and claude code is enable to reach the API
✻ Unable to connect to API (ConnectionRefused) · Retrying in 0s · attempt 2/10
What Should Happen?
Claude code is not usable in this session, the normal activity is expected
Error Messages/Logs
Steps to Reproduce
- launch claude code in phpstorm : /claude
- fill the prompt with a question
- the error occurs
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.190
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
_No response_