Mainframe Path Start learning free
CoreError and abend codesEDC8127I

EDC8127I timed out / EDC8130I host cannot be reached

The client got no answer (timed out) or had no route to the host. Unlike 'connection refused', these point to the path between the systems.

What happened

A TCP connect or socket operation from z/OS failed after a delay with EDC8127I Connection timed out (errno ETIMEDOUT, 1127), or quickly with EDC8130I Host cannot be reached (EHOSTUNREACH, 1130). In both cases the request failed but the application kept running, so what happens next depends on its error handling.

Application log (illustrative)Illustrative example
MPFTPX01 CONNECTING TO PARTNER.EXAMPLE.COM (192.0.2.17) PORT 21
MPFTPX01 connect() failed: errno=1127 EDC8127I Connection timed out.
MPFTPX01 RETRY 1 OF 3 ...
MPFTPX01 connect() failed: errno=1130 EDC8130I Host cannot be reached.

What it means

Compare with EDC8128I Connection refused, where the host did answer but nothing was listening on the port.

Typical causes

Symptoms

Where to look

How to diagnose

  1. Confirm the target address — resolve the name again and compare.
  2. Check that z/OS has a route to that network and that the interface is active.
  3. Test reachability with the tools your site approves for this.
  4. If the route is fine, ask the network team to check firewalls between the systems for that port.

How to fix

Correct the address or name resolution, restore the interface or route, or get the firewall rule opened through change control. Then rerun or let the application retry. If the remote host is down, coordinate with its owners rather than retrying in a tight loop.

How to prevent

Production considerations

Interview question

A job gets EDC8130I. What does that suggest?

Stuck on something else?
Ask the community or search the full course.

Ask a question