Skip to content

Instantly share code, notes, and snippets.

@raveenb
Created August 27, 2025 14:16
Show Gist options
  • Save raveenb/a8fa21f53511b2d57e6ff2f072eaa9d5 to your computer and use it in GitHub Desktop.
Save raveenb/a8fa21f53511b2d57e6ff2f072eaa9d5 to your computer and use it in GitHub Desktop.
Claude Desktop Restarting due to Connection Error Issue err_connection_refused

If your claude desktop that you newly installed refuses to open or is constantly restarting. You constantly get an error like err_connection_refused. I have some troubleshooting steps to share on how I resolved it:

  1. Check the logs in ~/Library/Logs/Claude window.log and main.log
  2. You may see the urls that the app is trying to access and failing
  3. Perhaps copy them over and paste it on your browser and see what response is showing up.
  4. In my case it was m.stripe.network and statsig.anthropic.com, both these were blocked at my home router
  5. I use pihole, so searched for those domains and unblocked them
  6. The claude desktop app is now stable and working properly

Enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment