After a reboot, a server has no network although the interface shows UP.
IntermediateTroubleshootingConnectivity: refused, timed out, no route
Answer
Likely causes → Interface renamed (predictable names changed after a kernel/driver update), netplan or ifcfg references the old name, DHCP client not started, or cloud-init regenerated config.
Diagnose →
ip -br addr
journalctl -b -u systemd-networkd -u NetworkManager --no-pager | tail -50
cat /etc/netplan/*.yaml
Fix → Match on MAC in netplan (match: macaddress:) and netplan apply, or fix the name in the config. Use the serial console if SSH is gone.
Prevent → Match interfaces by MAC or driver, and test kernel upgrades on a canary host.
More on Connectivity: refused, timed out, no route
`curl: (7) Failed to connect to 10.0.2.15 port 8080: Connection refused`Beginner`curl: (28) Failed to connect to api.internal port 443 after 130001 ms: Connection timed out`Beginner`ssh: connect to host 10.1.4.20 port 22: No route to host`BeginnerService works with `curl localhost:3000` on the box but times out from other hosts.Beginner`ping` works but `curl` to port 80 on the same host times out.Beginner`curl` to a public site works, but `ping 8.8.8.8` shows 100% packet loss.Beginner