Modern QA2026Network Diagnostics — tiles
Log inJoin
14 / 55 · 19 Linux & Command Line · Permissions and Processes← prev⊞ allnext →☰ Read as one page

2.8Network Diagnostics

# Check if a host is reachable
ping staging.example.com

# Check DNS resolution
nslookup staging.example.com
dig staging.example.com

# Check if a port is open on a remote host
nc -zv staging.example.com 443

# Trace the network path to a host
traceroute staging.example.com

# Check your machine's IP addresses
ip addr show
# Or on macOS:
ifconfig

# Test HTTP connectivity
curl -I https://staging.example.com