Error: Unable to connect. Is the computer able to access the url? #4400

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

Originally created by @itgoyo on GitHub (Jan 7, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

just open terminal and run opencode and open broswer with http://127.0.0.1:4096

Plugins

No response

OpenCode version

1.0.220

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 15.1.1

Terminal

iTerm2

Originally created by @itgoyo on GitHub (Jan 7, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description just open terminal and run `opencode` and open broswer with `http://127.0.0.1:4096` ### Plugins _No response_ ### OpenCode version 1.0.220 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System macOS 15.1.1 ### Terminal iTerm2
yindo added the bug label 2026-02-16 17:43:41 -05:00
Author
Owner

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

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

  • #6150: Unable to connect. Is the computer able to access while using List tool
  • #5344: OllamaError: Unable to connect. Is the computer able to access the url?

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 7, 2026): This issue might be a duplicate of existing issues. Please check: - #6150: Unable to connect. Is the computer able to access while using List tool - #5344: OllamaError: Unable to connect. Is the computer able to access the url? Feel free to ignore if none of these address your specific case.
Author
Owner

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

这个问题你只要升级到新版本就能在浏览器中打开了,与之相反的是CLI中就无法通过attach连接了

@aokihu commented on GitHub (Jan 7, 2026): 这个问题你只要升级到新版本就能在浏览器中打开了,与之相反的是CLI中就无法通过`attach`连接了
Author
Owner

@biandan commented on GitHub (Jan 17, 2026):

使用 gemini-3-pro-preview 模型,这个很奇怪,我也遇到了,有的目录的session可以正常使用,有的目录下的session就会报错:Error: Unable to connect. Is the computer able to access the url?
version 1.1.21
"I'm using the gemini-3-pro-preview model. It's really strange, I'm encountering this too. Sessions in some directories work fine, but sessions in other directories throw an error: Error: Unable to connect. Is the computer able to access the url? (Version 1.1.21)"

@biandan commented on GitHub (Jan 17, 2026): 使用 gemini-3-pro-preview 模型,这个很奇怪,我也遇到了,有的目录的session可以正常使用,有的目录下的session就会报错:Error: Unable to connect. Is the computer able to access the url? version 1.1.21 "I'm using the gemini-3-pro-preview model. It's really strange, I'm encountering this too. Sessions in some directories work fine, but sessions in other directories throw an error: Error: Unable to connect. Is the computer able to access the url? (Version 1.1.21)"
Author
Owner

@daryltucker commented on GitHub (Jan 27, 2026):

Excited to see this be resolved.

@daryltucker commented on GitHub (Jan 27, 2026): Excited to see this be resolved.
Author
Owner

@Koleok commented on GitHub (Feb 1, 2026):

In my case this was due to not having a default model configured (if you open oc in the scope of a project the tui will select the last used model which can obscure what's going on)

@Koleok commented on GitHub (Feb 1, 2026): In my case this was due to not having a default model configured _(if you open oc in the scope of a project the tui will select the last used model which can obscure what's going on)_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4400