'Failed to open TCP connection' error on Red Hat Satellite 6.x server using a proxy, in Subscriptions page or when enabling a Red Hat repository

Solution Verified - Updated -

Issue

The following error:

Failed to open TCP connection to <PROXY_IP>:<PROXY_PORT> (Permission denied - connect(2) for "XX.XXX.XXX.XXX" port XXXX)

is reported when HTTP Proxy is configured on Red Hat Satellite 6.x server:

  • On the Subscriptions page.
  • On the Red Hat Repositories page when trying to enable a Red Hat repository.

Environment

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

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