Oracle Cloud UI

  • Allow port in the Security List associated with the Internet Gateway (by default you only have access to SSH and ICMP 3,4 type)
  • Allow port in the Network Security Group

On the Server

  • Allow port through iptables

sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport {PORT} -j ACCEPT

sudo netfilter-persistent save