title: Port 80 closed in Centos 7 with firewalld service
body: <p>I am using Centos 7, and trying to open ports 80 and 443.</p>
  
  <p>Following instructions from 
  <a href="https://stackoverflow.com/questions/24729024/centos-7-open-firewall-port">centos 7 - open firewall port</a>
  , <a href="http://www.certdepot.net/rhel7-get-started-firewalld/" rel="nofollow noreferrer">RHEL7: How to get started with Firewalld</a>, <a href="http://linuxconfig.org/how-to-open-http-port-80-on-redhat-7-linux-using-firewall-cmd" rel="nofollow noreferrer">How to open http port 80 on Redhat 7 Linux using firewall-cmd</a> and some others, I've got the following:</p>
  
  <pre><code>[ricardo@m42srv02 ~]$ firewall-cmd --list-all
    public (default, active)
    interfaces: enp0s3
    sources: 0.0.0.0/0
    services: dhcpv6-client http https ssh
    ports:
    masquerade: no
    forward-ports:
    icmp-blocks:
    rich rules:
  
  [ricardo@m42srv02 ~]$
  </code></pre>
  
  <p>Even if I add ports 80/tcp and 443/tcp instead of adding the service, the result is the same, from other machine:</p>
  
  <pre><code>[root@m42srv01 ~]# nmap -T4 -sV -p 1-444 192.168.1.12
  
  Starting Nmap 5.51 ( http://nmap.org ) at 2015-06-04 04:33 CEST
  Nmap scan report for 192.168.1.12
  Host is up (0.017s latency).
  Not shown: 441 filtered ports
  PORT    STATE  SERVICE VERSION
  22/tcp  open   ssh     OpenSSH 6.6.1 (protocol 2.0)
  80/tcp  closed http
  443/tcp closed https
  MAC Address: 08:00:27:C1:8D:25 (Cadmus Computer Systems)
  
  Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
  Nmap done: 1 IP address (1 host up) scanned in 4.28 seconds
  [root@m42srv01 ~]#
  </code></pre>
  
  <p>I have tried adding services and ports, with --permanent option, with and without sources, always reloading firewall after each change and even restarting firewalld service sometimes, but these ports are always closed.</p>
  
  <p>Iptables is disabled.</p>