2. Edit firewall, to allow port access. Process the following command, from port 80 change to port 10022(your own port no.)
Add: firewall-cmd --zone=public --add-port=80/tcp --permanent (--permanent //if without this, will lost setting after reboot)
Reload: firewall-cmd --reload
Check: firewall-cmd --zone= public --query-port=80/tcp
Delete firewall-cmd --zone= public --remove-port=80/tcp --permanent