You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These issues describe the same core problem of multiple OpenCode instances conflicting with each other and propose various solutions. Please review them to see if your use case is already addressed.
Start headless server: opencode serve --hostname 0.0.0.0 --port 4096
Attach tui: opencode attach http://localhost:4096 --dir /path/to/project. Important to specify the dir so that you can access/continue sessions from that folder
Activity
github-actions commentedon Feb 11, 2026
This issue might be a duplicate of existing issues. Please check:
These issues describe the same core problem of multiple OpenCode instances conflicting with each other and propose various solutions. Please review them to see if your use case is already addressed.
tanaka-mambinge commentedon Feb 12, 2026
Also facing a similar issue. I guess starting one server and attaching terminals is the way to go for now.
Start headless server:
opencode serve --hostname 0.0.0.0 --port 4096Attach tui:
opencode attach http://localhost:4096 --dir /path/to/project. Important to specify the dir so that you can access/continue sessions from that foldergerwim commentedon Feb 17, 2026
Same issue on my Debian VM. Windows works fine... 🤔
gerwim commentedon Feb 18, 2026
I have installed it through homebrew on Linux and the issue has gone away. Both NPM (through nvm) and homebrew were on 1.2.6.
caibingcheng commentedon Feb 25, 2026
works well at 1.2.13
eimerreis commentedon Mar 6, 2026
Happens to me with version
1.2.15. Attaching works, but I guess this should just be the workaround