Connection to a remote system is failing with "Errno 14] curl#35 - "TCP connection reset by peer"

Solution Verified - Updated -

Issue

  • Packets sent by the source system keeps circulating within the system.
  • Connection to the remote server is getting timed out.
  • The system has only one interface but the traffic in tcpdump output is visible on the loop back interface.
  • The ttl value of the packets from source and the destination is 64.
  • Traffic sent to the remote server is routed towards the application running on the local system.

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content