On 29/01/16 16:35, reynierpm@gmail.com wrote:
I have Apache/2.4.6 installed in a minimal CentOS 7 VM. I am trying to access the default page when Apache is installed by accessing the CentOS IP as http://192.168.3.130 (is a host only interface) but I got "This webpage is not available: ERR_CONNECTION_TIMED_OUT" and I can't find why. I have stopped iptables and then checked:
my first guess would be;
setsebool -P httpd_can_network_connect on
firewall-cmd --add-service=http --permanent
if you're serving over https you'll also want; firewall-cmd --add-service=https --permanent
if you intend on sending email; setsebool -P httpd_can_sendmail on