Error Codes Wiki

Linux Connection Timed Out

Warningnetwork

Overview

Linux "Connection timed out" means the TCP connection attempt did not receive a response within the timeout period.

Key Details

  • errno 110 (ETIMEDOUT) — no response from remote host
  • Packets are being dropped (not rejected)
  • Usually indicates firewall DROP rule or routing issue
  • Default timeout is typically 20-120 seconds

Common Causes

  • Firewall DROP rule silently discarding packets
  • Remote host is down or unreachable
  • Network routing issue between source and destination
  • Incorrect IP address or port number

Steps

  1. 1Test connectivity: ping remote_host
  2. 2Test specific port: telnet host port or nc -zv host port
  3. 3Trace route: traceroute host to find where packets stop
  4. 4Check remote firewall and security group rules

Tags

linuxnetworkconnection timed outtroubleshootingfix

More in Network

Frequently Asked Questions

Refused = host is up but port is closed. Timed out = packets are being dropped (host down or firewall).