Open Ports in Oracle Cloud

Tiempo de lectura: 3 minutos

Reading Time: 3 minutes

Today, I’m going to show you how to open ports in Oracle Cloud (Create an Oracle Cloud account to get 2 free servers (always free)), Oracle’s VPS that offers always free instances with minimal but functional features for small projects.

The first thing we need to do is log in to the Oracle Cloud Dashboard and select “Launch Resources”.

Now click on View All Resources to select the machine for which you want to open the ports.

Here you will see all the machines you have. Among other things, you need to select the one you need.

Remember, it should be of type Instances, not Boot Volumes. Now, within the instance, go to the Primary VNIC section and select Subnet.

Now select the subnet, and the Security List table will appear.

Here, you have different configurations for different ports.

Now, add the port you want to open by clicking on Add Ingress Rules.

Now, fill in all the fields.

If you want to open this port on all your instances, enter the following in Source CIDR:

If you only want it for the current instance, you need to enter the PRIVATE IP (type 10.0.0.X) of your machine.

Select the desired protocol.

Specify the port you want to open:

If desired, you can add a description.

Once you’ve added everything, click on Add Ingress Rule.

And now you have the port opened.

If you’re deploying on an Ubuntu or Linux machine, you also need to open IP tables to allow outbound connections. You can follow the tutorial How to Open a Port in Ubuntu (Linux) by Default Using IP Tables

Leave a Comment