I set it to a port other than the default port used by SSH, MariaDB, PostgreSQL and MongoDB. To connect these daemons, firewall(NOT ufw BUT iptables) must be configured in OCI(ubuntu 22). Besides these ports should be added to public subnet’s security list in OCI. Followings is only about firewall.