Repository navigation
v2.2.1 — Fix default port conflict
Fix
Default OpenCode port changed from 4096 to 39147
Port 4096 conflicts with common services (it's a typical TCP backlog size), causing crash loops when another process is already bound to it. The new default uses an uncommon 5-digit port to avoid collisions.
This also allows users to run multiple OpenCode instances on different ports without conflicts.
Changed
- Default
opencodePort:4096→39147 - Default
opencodeUrl:http://localhost:4096→http://localhost:39147 - Updated setup wizard, configuration docs, troubleshooting docs, and provider docs
Upgrade
relay updateExisting configs are not affected — if you previously set a custom port, it will be preserved. New installs and fresh relay onboard runs will use the new default.