Skip to content

v2.2.1 — Fix default port conflict

Choose a tag to compare

@Harsh-2002 Harsh-2002 released this 03 Mar 04:02
· 52 commits to main since this release

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 update

Existing 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.