CentOS 7でFirewalldの80ポートを開放

vim /etc/firewalld/zones/public.xml

下記コードを追加
<?xml version=”1.0″ encoding=”utf-8″?>
<zone>
<short>Public</short>
<description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>
<service name=”http”/>
<service name=”ssh”/>
<service name=”https”/>
</zone>

Linux

Posted by arkgame