Open Ports on Oracle Cloud Infrastructure

This post will show how to open ports on oracle server
because when you will deploy your application on oracle server you will find it very difficult that why your application is not accessible
unlike other cloud provider where port 80 and 443 are open by default it is not the case with oracle

  • first open the port in Ingress Rules like below screenshot

oracle ingress rules

and then open the port in operating system’s firewall \

install firewalld if it is not installed

sudo apt  install firewalld

and then open the port which you want to access publicly

 sudo firewall-cmd --zone=public --permanent --add-port=80/tcp

change the port 80 with your desire port and then reload the firewall-cmd

 sudo firewall-cmd --reload

I hope this post is helpful, thank you

comments powered by Disqus