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
{{ message }}
Repository navigation
opencode --port=8080 fails because port statically bound to 4096 #5928
Was trying to test open code web interface per https://x.com/thdxr/status/2002786192534991106 and found that opencode won't work on ports other than 4096 (opencode --port=8080, for example).
In packages/desktop/src/app.tsx, when location.hostname includes "localhost", the code builds the URL using hardcoded values instead of using relative URLs that would resolve to the actual server origin.
Both issues describe the same root cause in packages/desktop/src/app.tsx where the code builds the URL using hardcoded values instead of using the actual server origin. Feel free to ignore if your specific case differs.
Activity
github-actions commentedon Dec 22, 2025
This issue might be a duplicate of existing issues. Please check:
Both issues describe the same root cause in
packages/desktop/src/app.tsxwhere the code builds the URL using hardcoded values instead of using the actual server origin. Feel free to ignore if your specific case differs.thdxr commentedon Dec 22, 2025
the issue was
localhostwas treated differently than127.0.0.1. fixed nowgempir commentedon Dec 23, 2025
I think this is still broken? #5949 was reverted
On 1.0.193 I'm still having the issue.