Error: Could not connect to server. Is there a server running at #4159

Open
opened 2026-02-16 17:42:50 -05:00 by yindo · 10 comments
Owner

Originally created by @shaohongwu on GitHub (Jan 4, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

Error: Could not connect to server. Is there a server running at http://127.0.0.1:64778?
@tauri://localhost/assets/index-Bb8udyNF.js:1728:20153

Image macOS Sequoia 15.1.1

Plugins

No response

OpenCode version

1.0.223

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS Sequoia 15.1.1

Terminal

No response

Originally created by @shaohongwu on GitHub (Jan 4, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description Error: Could not connect to server. Is there a server running at `http://127.0.0.1:64778`? @tauri://localhost/assets/index-Bb8udyNF.js:1728:20153 <img width="861" height="605" alt="Image" src="https://github.com/user-attachments/assets/2494e07b-a010-4f06-8d2e-e2ab09995be7" /> macOS Sequoia 15.1.1 ### Plugins _No response_ ### OpenCode version 1.0.223 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System macOS Sequoia 15.1.1 ### Terminal _No response_
yindo added the bugweb labels 2026-02-16 17:42:50 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 4, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6015: [Desktop] Error: could not connect to server - Reports the same "Could not connect to server" error with the exact same error format and likely the same root cause

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Jan 4, 2026): This issue might be a duplicate of existing issues. Please check: - #6015: [Desktop] Error: could not connect to server - Reports the same "Could not connect to server" error with the exact same error format and likely the same root cause Feel free to ignore if this doesn't address your specific case.
Author
Owner

@instkffff commented on GitHub (Jan 4, 2026):

Image windows 11

fixed through delete proxy system environment variables.

@instkffff commented on GitHub (Jan 4, 2026): <img width="1474" height="989" alt="Image" src="https://github.com/user-attachments/assets/461a5a6b-5f48-47fe-9921-c29b949cf2d0" /> windows 11 ---- fixed through delete proxy system environment variables.
Author
Owner

@troychn commented on GitHub (Jan 5, 2026):

I'm experiencing the same issue.

  • Error: Could not connect to server. Is there a server running at http://127.0.0.1:61798?
  • System: macOS (M4 Pro)
  • Version: [ 1.1.2]
  • I've tried killing the port, but the issue persists
Image
@troychn commented on GitHub (Jan 5, 2026): I'm experiencing the same issue. - Error: Could not connect to server. Is there a server running at `http://127.0.0.1:61798`? - System: macOS (M4 Pro) - Version: [ 1.1.2] - I've tried killing the port, but the issue persists <img width="1085" height="534" alt="Image" src="https://github.com/user-attachments/assets/cdd9e0a5-beb8-44e0-b015-d2d9c308123d" />
Author
Owner

@acsamson commented on GitHub (Jan 7, 2026):

+1

Image
@acsamson commented on GitHub (Jan 7, 2026): +1 <img width="2928" height="1888" alt="Image" src="https://github.com/user-attachments/assets/00f295f2-627b-451b-8735-f86dc4fa48db" />
Author
Owner

@mophy commented on GitHub (Jan 7, 2026):

I'm experiencing the same issue.

  • Error: Could not connect to server. Is there a server running at http://127.0.0.1:61798?
  • System: macOS (M4 Pro)
  • Version: [ 1.1.2]
  • I've tried killing the port, but the issue persists
Image

Same problem here, tried kill-uninstall-install, not help.

@mophy commented on GitHub (Jan 7, 2026): > I'm experiencing the same issue. > > * Error: Could not connect to server. Is there a server running at `http://127.0.0.1:61798`? > * System: macOS (M4 Pro) > * Version: [ 1.1.2] > * I've tried killing the port, but the issue persists > > <img alt="Image" width="1085" height="534" src="https://private-user-images.githubusercontent.com/13195449/531986376-cdd9e0a5-beb8-44e0-b015-d2d9c308123d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njc4NDEyNTQsIm5iZiI6MTc2Nzg0MDk1NCwicGF0aCI6Ii8xMzE5NTQ0OS81MzE5ODYzNzYtY2RkOWUwYTUtYmViOC00NGUwLWIwMTUtZDJkOWMzMDgxMjNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTA4VDAyNTU1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlhYzJlYTAxYzM0NjBmNmM0YTA5ODRiNzcyOGRkMDZmZWQ3Yzk5NTQ5NTM4ZjMwY2VhMGQ5NTdmNjgyOTE5ZmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.U7tKZPEXUAKd8X0kPJLawbRwpa6RLNrVkYud0J8Kx7Y"> Same problem here, tried kill-uninstall-install, not help.
Author
Owner

@evanshe commented on GitHub (Jan 8, 2026):

+1

@evanshe commented on GitHub (Jan 8, 2026): +1
Author
Owner

@datalee commented on GitHub (Jan 8, 2026):

+1

@datalee commented on GitHub (Jan 8, 2026): +1
Author
Owner

@iamsuperzb commented on GitHub (Jan 8, 2026):

+1

@iamsuperzb commented on GitHub (Jan 8, 2026): +1
Author
Owner

@rockychang7 commented on GitHub (Jan 10, 2026):

i also have this problem ,killing the process and reinstall also do not work,any one solve this problem?

@rockychang7 commented on GitHub (Jan 10, 2026): i also have this problem ,killing the process and reinstall also do not work,any one solve this problem?
Author
Owner

@dream1cast commented on GitHub (Jan 14, 2026):

@instkffff

fixed through delete proxy system environment variables.

Could you please help to explain where is the 'proxy system environment variables' ? I also have this problem, but could not find the proxy config.

@dream1cast commented on GitHub (Jan 14, 2026): @instkffff > fixed through delete proxy system environment variables. Could you please help to explain where is the 'proxy system environment variables' ? I also have this problem, but could not find the proxy config.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4159