# Streamlit app address without :8501

**URL:** <https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687>\
**Category:** Deployment\
**Created:** [June 22, 2020, 12:20pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687 "2020-06-22T12:20:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabio](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/fabio/32/2165_2.png) [@Fabio](https://discuss.streamlit.io/u/Fabio)\
**Post date:** [June 22, 2020, 12:20pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/1 "2020-06-22T12:20:38Z")

</div>

Hi,

Congrats for this amazing tool.

I just published an app that does variance analysis here [http://testspacevariance.com:8501/](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](http://www.testspacevariance.com)?

Thanks

Fabio

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [June 22, 2020, 3:25pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/2 "2020-06-22T15:25:27Z")

</div>

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](https://discuss.streamlit.io/t/changing-of-port-and-multiple-streamlit-app/142/2), or you could use a reverse-proxy with [nginx](https://discuss.streamlit.io/tag/nginx) or [Apache](https://discuss.streamlit.io/tag/apache).

---

<div class="post-metadata">

**Author:** ![Fabio](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/fabio/32/2165_2.png) [@Fabio](https://discuss.streamlit.io/u/Fabio)\
**Post date:** [June 22, 2020, 3:42pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/3 "2020-06-22T15:42:05Z")

</div>

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 😄

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

Many thanks!

Fabio

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [June 22, 2020, 3:44pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/4 "2020-06-22T15:44:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fabio](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/fabio/32/2165_2.png) [@Fabio](https://discuss.streamlit.io/u/Fabio)\
**Post date:** [June 22, 2020, 3:49pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/5 "2020-06-22T15:49:03Z")

</div>

Beautifull 😄

Many many thanks

Fabio

---

<div class="post-metadata">

**Author:** ![Fabio](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/fabio/32/2165_2.png) [@Fabio](https://discuss.streamlit.io/u/Fabio)\
**Post date:** [June 22, 2020, 4:03pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/6 "2020-06-22T16:03:00Z")

</div>

works 🙂 “[http://testspacevariance.com/](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

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [June 22, 2020, 4:04pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/7 "2020-06-22T16:04:47Z")

</div>

Works for me 👍

 ![image](https://global.discourse-cdn.com/streamlit/original/2X/3/399b5fc0e67fd61b2de711b89d9b780739910413.png)

---

<div class="post-metadata">

**Author:** ![Fabio](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/fabio/32/2165_2.png) [@Fabio](https://discuss.streamlit.io/u/Fabio)\
**Post date:** [June 24, 2020, 10:17am UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/8 "2020-06-24T10:17:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [June 24, 2020, 1:03pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/9 "2020-06-24T13:03:53Z")

</div>

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

> [@Streamlit, docker, Nginx, ssl/https](https://discuss.streamlit.io/t/streamlit-docker-nginx-ssl-https/2195/5):
>
> My nginx server stanza looks like this. Maybe try putting the proxy\_set… params outside of your location {…} stanzas. server { listen 443 ssl; server\_name localhost; ssl\_certificate C:/.../nginx/conf/certificate.pem; ssl\_certificate\_key C:/.../nginx/conf/key.pem; proxy\_http\_version 1.1; proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for; proxy\_set\_header Host $host; # streamlit specific: proxy\_set\_header Upgrade $http\_upgrade; proxy\_set\_header Conn…

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [January 12, 2022, 9:40pm UTC](https://discuss.streamlit.io/t/streamlit-app-address-without-8501/3687/10 "2022-01-12T21:40:13Z")

</div>


