[CentOS] Apache doesn't display "It works page" under CentOS 7

Fri Jan 29 16:41:55 UTC 2016
Michael H <michael at wemoto.com>

On 29/01/16 16:35, reynierpm at 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 (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