/usr/sbin/setsebool httpd_can_network_connect=1 By default, SELinux does not allow Apache to make socket connections.