ERR_ADDRESS_UNREACHABLE when accessing my website without https
Verify if the CentOS7 firewall is blocking the http traffic:
[root@stage2 ~]# firewall-cmd --list-allpublic (default, active) interfaces: eno16777984 sources: services: dhcpv6-client https ssh ports: 5000/tcp masquerade: no forward-ports: icmp-blocks: rich rules:
If you don't see http
in services:
, or 80/tcp
in ports:
then you need to add a http
service to your zone:
[root@stage2 ~]# firewall-cmd --permanent --zone=public --add-service=httpsuccess
After that reload your firewall to get access to your new service:
[root@stage2 ~]# firewall-cmd --reloadsuccess
And verify that http
is opened:
[root@stage2 ~]# firewall-cmd --list-allpublic (default, active) interfaces: eno16777984 sources: services: dhcpv6-client http https ssh ports: 5000/tcp masquerade: no forward-ports: icmp-blocks: rich rules: