Disable Ubuntu firewall on OCI
By default, Ubuntu comes with a firewall called UFW (Uncomplicated Firewall). While it is a useful tool for protecting your system from unauthorized access, sometimes it can cause issues when running certain applications or services.
TL; DR
sudo iptables -F
sudo netfilter-persistent save
iptables -F
: Flush (remove all) iptables rulesnetfilter-persistent save
: Save empty ruleset to disk so it will be reloaded on reboot.
Reference
https://ubuntu.com/server/docs/firewalls
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu
https://www.cyberciti.biz/faq/how-to-configure-firewall-with-ufw-on-ubuntu-20-04-lts/
https://help.ubuntu.com/community/UFW