Re: Apache doesn't display "It works page" under CentOS 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux