[Desktop] Error: could not connect to server #3775

Closed
opened 2026-02-16 17:41:26 -05:00 by yindo · 5 comments
Owner

Originally created by @Domanffe on GitHub (Dec 23, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Description

after update a see this: Error: Could not connect to server. Is there a server running at http://127.0.0.1:57923?
at i (http://tauri.localhost/assets/index-CC1JT69m.js:1429:16178)

OpenCode version

v1.0.191

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Windows 11

Solutions(it should help)

  1. @adamdotdevin said "If you run into this issue, you need to open task manager and kill all bun/opencode processes, then reinstall the desktop app."

  2. My observations: if the reinstallation didn't help (as it did for me), then most likely some application is already using the port that OpenCode needs to work.

Originally created by @Domanffe on GitHub (Dec 23, 2025). Originally assigned to: @adamdotdevin on GitHub. ### Description after update a see this: Error: Could not connect to server. Is there a server running at `http://127.0.0.1:57923`? at i (http://tauri.localhost/assets/index-CC1JT69m.js:1429:16178) ### OpenCode version v1.0.191 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="1421" height="906" alt="Image" src="https://github.com/user-attachments/assets/f8baaf15-d32a-42ed-a7ff-19aaff115752" /> ### Operating System Windows 11 ## Solutions(it should help) 1. @adamdotdevin said "If you run into this issue, you need to open task manager and kill all bun/opencode processes, then reinstall the desktop app." 2. My observations: if the reinstallation didn't help (as it did for me), then most likely some application is already using the port that OpenCode needs to work.
yindo added the windowsbugweb labels 2026-02-16 17:41:26 -05:00
yindo closed this issue 2026-02-16 17:41:26 -05:00
Author
Owner

@ArmDaniel commented on GitHub (Dec 23, 2025):

I have exactly the same error. It seems to open in the browser at that exact port and it works there, but the desktop app is not

@ArmDaniel commented on GitHub (Dec 23, 2025): I have exactly the same error. It seems to open in the browser at that exact port and it works there, but the desktop app is not
Author
Owner

@adamdotdevin commented on GitHub (Dec 23, 2025):

Are you guys running the OpenCode TUI/server before starting the desktop app? This error indicates your server is out of date. The desktop app also ships a server with it, you may have to reinstall the app.

@adamdotdevin commented on GitHub (Dec 23, 2025): Are you guys running the OpenCode TUI/server before starting the desktop app? This error indicates your server is out of date. The desktop app also ships a server with it, you may have to reinstall the app.
Author
Owner

@zitongcharliedeng commented on GitHub (Dec 23, 2025):

+1

@zitongcharliedeng commented on GitHub (Dec 23, 2025): +1
Author
Owner

@adamdotdevin commented on GitHub (Dec 23, 2025):

If you run into this issue, you need to open task manager and kill all bun/opencode processes, then reinstall the desktop app.

@adamdotdevin commented on GitHub (Dec 23, 2025): If you run into this issue, you need to open task manager and kill all bun/opencode processes, then reinstall the desktop app.
Author
Owner

@Domanffe commented on GitHub (Dec 23, 2025):

reinstalling the app helped me, but it's still weird.

@Domanffe commented on GitHub (Dec 23, 2025): reinstalling the app helped me, but it's still weird.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3775