Skip to content
ohsudo, Home

Tags

#nc

Connection timed out
Networking

"Connection timed out" vs "Connection refused": what each one tells you, and how to fix it

Timed out means a firewall dropped the packets; refused means nothing listens there. Tell them apart with nc and curl, then fix ufw, firewalld or the bind address.

Beginner · 5 min read