I have setup an EC2 Instance with Streamlit.
I managed to get Streamlit up and running.
I created the config.toml file and set:
enableCORS = false
enableXsrfProtection = false
If I’m accessing the network URL, I’m getting “strict-origin-when-cross-origin” error.
I want to connect to the server from within the same network (My computer is within the AWS VPC)
I have tried with a CORS plugin in google chrome (same error)
-
I can SSH/ping the server
-
I created an Inbound rule for TCP: 8501: 0.0.0.0/0
-
I disabled the firewall on the server “sudo ufw disable”
-
if I’m using curl http://xx.xxx.xxx.x:8501 I’m getting: “Unable to connect to the remote server” (after 15-20sec)
Anyone an idea where the problem could be?