David Cao

David Cao

David is a Cloud & DevOps Enthusiast. He has years of experience as a Linux engineer. He had working experience in AMD, EMC. He likes Linux, Python, bash, and more. He is a technical blogger and a Software Engineer. He enjoys sharing his learning and contributing to open-source.

Fix Curl: Failed to connect to host Connection refused

If you’ve ever worked with web servers, APIs, or command-line tools, you’ve almost certainly run into this frustrating message: curl: (7) Failed to connect to host… Connection refused. It’s a common roadblock that can stop you in your tracks. But…

Installing Claude Code on Linux: A Easy Guide

Claude Code is Anthropic’s powerful agentic coding assistant that runs directly in your terminal—able to understand your entire codebase, make edits, handle git workflows, debug, document, and more, all through natural language commands. Prerequisites Installation Methods Method 1: Installing via…