(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.

Resolution:

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.

1 thought on “(13)Permission denied: AH00957: HTTP: attempt to connect to failed”

Leave a Reply

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny