Opening Ports in Oracle Cloud
Main issues when dealing with Oracle Cloud comes down to network allowance and how network is configured on your VPS. By default, almost all traffic is blocked by oracle even if your firewall in your VPS allows it.
These are the steps you can take to allow traffic. Keep in mind these are general rules to follow to allow traffic. You can modify as you want if you want to block/allow specific traffic and change routing conditions.
Go to Oracle Cloud Console
👉 https://cloud.oracle.com Login → Select your region
Navigate to Your VCN
☰ Menu
→ Networking
→ Virtual Cloud Networks
→ Click your VCN
Open the Security List
Inside the VCN:
→ Security Lists
→ Click the DEFAULT security list
Add Ingress Rules
Click Add Ingress Rules
Rule for HTTP
| Field | Value |
|---|---|
| Source CIDR | 0.0.0.0/0 |
| IP Protocol | TCP |
| Destination Port Range | 80 |
| Description | HTTP |
| This is to allow HTTP connections |
Rule for HTTPS (do this now too)
| Field | Value |
|---|---|
| Source CIDR | 0.0.0.0/0 |
| IP Protocol | TCP |
| Destination Port Range | 443 |
| Description | HTTPS |
Click Save Changes
This is to allow HTTPS connections
ALSO Check Network Security Groups (NSG)
Most of the time, changes in security list should be enough to host your website and allow traffic. But in case that does not work, you can try making changes to NSG and allowing the same ports as before
If your instance uses an NSG:
Compute
→ VCN (Virtual Cloud Networks)
→ Select the VCN you created for your VPS
→ Security
→ Scroll and Find Network Security Group(s) (NSG)
→ Create new NSG
Add the same ingress rules (80 & 443) there.
Verify on the Server (Quick Checks)
On your OCI VM:
sudo systemctl status nginxcurl http://localhostIf this works → Nginx is fine.
Test From Browser 🌍
Now open:
http://<OCI_PUBLIC_IP>
You should finally see:
- ✅ Nginx welcome page or
- ✅ Your Quartz site