[BUG] JetBrains IDE plugin integration does not work when Claude Code runs in Docker container
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?
JetBrains IDE plugin integration does not work when Claude Code runs in Docker container, Claude Code is unable to connect to the IDE. I have tried the "Accept connections from all network interfaces" setting.
This is on Linux, and I am running the Docker container with docker run --network=host ....
What Should Happen?
It should be able to connect to the IDE.
Error Messages/Logs
Steps to Reproduce
- Install the Claude Code in JetBrains IntelliJ IDEA Ultimate
- Restart the IDE
- Press the icon to launch Claude Code from the IDE
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.0.11 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
No response
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
The issue still exists, with Claude Code 2.0.61 and Jetbrains IDE plugin 0.1.13-beta.
@mikaelstaldal - is your IDE running locally or in the container? Using IntelliJ in remote development mode (Devcontainer) works for me, as long as the Claude Code plugin is installed on the host, not on the client, and Claude code is also installed and running in the container.
The issue still exists, with Claude Code 2.0.61 and Jetbrains IDE plugin 0.1.14-beta.