Streamlit app address without :8501

Hi,

Congrats for this amazing tool.

I just published an app that does variance analysis here http://testspacevariance.com:8501/

I do not like the “:8501” part of the address too much.

Is there any way to make the app work simply by typing http://www.testspacevariance.com?

Thanks

Fabio

Hi @Fabio, welcome to the Streamlit community!

How you accomplish this depends on your deployment method, but Streamlit supports switching the port through the config.toml file, or you could use a reverse-proxy with nginx or Apache.

Thanks Randy,

I wanted to keep it as simple as possible (given my limited skill set), so for the moment I did not want use nginx/Apache. Switching the port seems an attractive option :smile:

Stupid question. Which is the a port number I can switch to so that http://www.testspacevariance.com will magically work without “:8501”?

Many thanks!

Fabio

Port 80 (http) and 443 (https) are the conventional port numbers used for websites, where the port number will not be displayed.

Beautifull :smile:

Many many thanks

Fabio

1 Like

works :slight_smile:http://testspacevariance.com/

It does not works if I simply write “www dot testspacevariance dot com”

Anyway very happy!! This is already amazing for me.

Thanks

Fabio

Works for me :+1:

Hello again.

since users might upload financial data to my app, I wanted it to run in https. So I bought a certificate and I am trying to figure out what to do with it.

My hope is that if I simply install the certificate is the right place, whatever that is, and tell the app to serve on port 443 everything will magically (streamlit is magical) work.

Is this correct?

Many thanks

Fabio

Unfortunately, no, there isn’t a magic solution to this. This post highlights how to do this using nginx, which starts to move past Streamlit and into general DevOps