Text.js
DocsLearnPlayground
Error Codes/@textjs/opencode

TX022

Bridge port collides with OpenCode

Console

Text.js error TX022: The OpenCode server already uses port …. Pick another with --port.

Why this happens

The bridge was asked to listen on the same local port as the OpenCode server it proxies to.

How to fix it

bunx @textjs/opencode@latest proxy --port 4097
Previous← TX021 Invalid OpenCode server URLNextTX023 Bridge already running →

© 2026 Anomaly. All rights reserved.

DocsLearnPlaygroundErrorsChangelogBlogEnterpriseStoreStatusGitHub
All systems operationalMajor outage