I have deployed my Python Flet app in OCI (Oracle Cloud Infrastructure). When I connect to VM by SSH connection, I can run my program on local host 0.0.0.0:8000. Even when I forward port by tuneling to my local machine, I can see my app working at localhost:8000. However, entering the public address results in error, the webpage is not loading. I have added Ingress Rule as well (All type of connections, CIDR 0.0.0.0/0 and all ports. What could be the reason that I cannot access the app in public address? The IPV4 CIDR Block in public subnet is bound 10.0.0.0/24 and VCN IPV4 CIDR Block is 10.0.0.0/16. I guess that the problem is associated with incorrect addressing of ports, however, I am begginer to Oracle Cloud.
ubuntu@web-server:~$ sudo netstat -tuln | grep :8000
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN
tcp6 0 0 :::8000 :::* LISTEN
ubuntu@web-server:~$ sudo netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 788/sshd: /usr/sbin
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/init
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 591/systemd-resolve
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 2328/python3
tcp6 0 0 :::22 :::* LISTEN 788/sshd: /usr/sbin
tcp6 0 0 :::111 :::* LISTEN 1/init
tcp6 0 0 :::8000 :::* LISTEN 2328/python3