(13)Permission denied: AH00957: HTTP: attempt to connect to failed
Date Posted: 28-04-2018
We setup a redirection using proxypass to different port on apache configuration. It failed with an error which mentioned in title of the post.
Selinux would be causing the issue. Here is the fix that we need to apply on the server.
Login to the server as root.
Set the http to connect to network.
/usr/sbin/setsebool httpd_can_network_connect 1
The above set http can connect to the network temporarily.
Check the proxy rules again. If its works then setup http network permanently.
/usr/sbin/setsebool -P httpd_can_network_connect 1
We hope this will save certain time of our google search.