Open a custom port on firewalld on RHEL

To open port 2022 for example:

firewall-cmd --add-port 2022/tcp --permanent
firewall-cmd --reload
Check:
firewall-cmd --list-all