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
Desktop app cannot reach LAN IP addresses - EHOSTUNREACH on all 192.168.x.x connections #25908
The OpenCode desktop app cannot connect to MCP servers hosted on a local network. Even when pointing directly at a LAN IP (e.g. http://192.168.1.x:port), the desktop app fails with EHOSTUNREACH. The same configuration works correctly when using the terminal version of OpenCode.
This affects both type: "remote" and type: "local" (with mcp-remote) MCP configurations. The error is consistent regardless of whether a domain name or direct IP is used, confirming the issue is network isolation in the desktop app itself, not DNS resolution.
The terminal version connects successfully using the same opencode.json config, confirming the MCP server is working correctly, and the problem is specific to the desktop app's sandboxed network environment.
Activity
github-actions commentedon Jul 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
Drjacky commentedon Aug 11, 2026
It still happens on 1.18.16
dsaul commentedon Aug 11, 2026
I can confirm that this also happens for me as well on a Mac Mini running golden gate, but not on a Linux box running nixos.