Can not access a web service on a compute instance from internet
Hallo
I'm new for OCI. I have created a Virtual Cloud Network(10.10.0.0/16) with two subnets, public subnet (10.10.1.0/24) and private subnet (10.10.2.0/24). The VCN have 2 security list by default. I create a new security list:
Ingress Rules: Stateless no, Source CIDR 0.0.0.0/0, IP Protocol TCP, Source Port Range All, Destination Port Range All
Egress Rule: Stateless no, Source CIDR 0.0.0.0/0, IP Protocol TCP, Source Port Range All, Destination Port Range All
and add the security list to public subnet.
then I created a compute instance on public subnet as follows:
Operating system: Canonical Ubuntu
Version: 22.04
Image: Canonical-Ubuntu-22.04-2024.08.23-0
Public IPv4 address: 152.x.x.x