To view open ports on firewall, run the folloing command:
firewall-cmd --zone=public --list-ports
The output will be something like this
25/tcp 80/tcp 143/tcp 443/tcp 465/tcp 587/tcp 993/tcp 995/tcp 5222/tcp 443/udp
To view open ports on firewall, run the folloing command:
firewall-cmd --zone=public --list-ports
The output will be something like this
25/tcp 80/tcp 143/tcp 443/tcp 465/tcp 587/tcp 993/tcp 995/tcp 5222/tcp 443/udp