Deploying on Oracle cloud Always free instance

Hi,
I deployed streamlit on my oracle cloud Always free instance but I am unable to access it with the external link.
image

I don’t know Oracle Cloud, but maybe you have to configure the firewall/port settings somehow?

Yeah I tried changing the ingress rules but of no use :frowning:


Is this ok ?

@Sai_Prasad you solved the issue? Same problem here

You have to set up the machine too
So in the console you put

firewall-cmd --zone=public --add-port=8501/tcp --permanent

And there you go

1 Like

@Ro_Po @Sai_Prasad
Hello I have the same error. So I write in the console of the vitual machine:

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

In my case de default port is 8502
And my Ingress Rules are the following:


Which give the following Error:

Can you help me please?

Try put all in the destination port

guys, i dont know if you solve the problem, but i see you are using the ip on terminal after run streamlit run, but the ip to access application is the public ip of your instante and the port. Try again! Good luck.

got the same problem. Did anyone fixed?
I added ingress rule, firewall is not running.

// Endup deploy in docker and it works.

This works!
Just had to use the command “firewall-cmd --reload” after the main command for it to take effect.
And obviously, use the command “sudo apt install firewalld” before everything.

So:

sudo apt install firewalld
sudo firewall-cmd --zone=public --add-port=8501/tcp --permanent
firewall-cmd --reload

All that, after creating the Ingress Rule cited by @Sai_Prasad , has put my app online.