claude-code - 💡(How to fix) Fix [BUG] Claude Desktop MCP network access regression: LAN connections fail after recent update (EHOSTUNREACH) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56433Fetched 2026-05-06 06:28:10
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×5commented ×1

Error Message

Error Messages/Logs

  1. Observe error: "connect: no route to host" despite the LAN host being fully
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Claude_MCP_LAN_Bug_Report.docx

What Should Happen?

MCP server subprocesses should have the same LAN network access as any other user process, consistent with behavior in previous app versions.

Error Messages/Logs

Steps to Reproduce

  1. Install any MCP server that connects to a LAN host (e.g., mcp-server-kubernetes targeting a cluster on a private IP)
  2. Configure it in claude_desktop_config.json with correct credentials and network settings
  3. Launch Claude Desktop (either Cowork or Chat mode) and invoke any tool requiring a LAN connection
  4. Observe error: "connect: no route to host" despite the LAN host being fully reachable from the same machine

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude 1.5354.0 (9a9e3d) 2026-04-29T01:14:34.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can likely be resolved by reconfiguring the network settings in claude_desktop_config.json to ensure the MCP server subprocesses have the correct LAN network access.

Guidance

  • Verify that the LAN host is reachable from the machine running Claude Desktop by using a tool like ping or curl to test the connection.
  • Check the claude_desktop_config.json file for any incorrect or missing network settings that may be causing the "connect: no route to host" error.
  • Try configuring the MCP server to use a different network interface or settings to see if it resolves the issue.
  • Review the documentation for the Anthropic API and Claude Code to ensure that the correct configuration options are being used.

Notes

The issue is reported as a regression, suggesting that a previous version of Claude Code worked correctly. However, the last working version is not specified, which may make it more difficult to identify the exact cause of the issue.

Recommendation

Apply workaround: The best course of action is to try reconfiguring the network settings and testing different configurations to find one that works, as the exact cause of the issue is not clear.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude Desktop MCP network access regression: LAN connections fail after recent update (EHOSTUNREACH) [1 comments, 2 participants]