Loading Depth Study
Preparing your workspace
Linux provides command-line tools that help developers inspect network configuration and troubleshoot connectivity problems.
Developers do not need to become network administrators, but they should know how to perform basic checks. Commands can show IP addresses, test connectivity, inspect DNS resolution, identify listening ports, and make HTTP requests. These tools are valuable when a development server cannot connect to another service or when a deployed application behaves differently from local development.
When an API cannot connect to a database host, a developer can inspect DNS resolution and basic network connectivity before changing application code.
ip addr ping -c 3 example.com nslookup example.com curl https://example.com ss -ltn
The commands inspect network interfaces, test reachability, resolve a domain, make an HTTP request, and show listening TCP ports.