'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
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
Subscriptionspage. - On the
Red Hat Repositoriespage 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.