# Rasa X default web application port settings

**URL:** <https://forum.rasa.com/t/rasa-x-default-web-application-port-settings/28155>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [April 28, 2020, 4:24pm UTC](https://forum.rasa.com/t/rasa-x-default-web-application-port-settings/28155 "2020-04-28T16:24:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VengefulJalapeno](https://avatars.discourse-cdn.com/v4/letter/v/9fc348/32.png) [@VengefulJalapeno](https://forum.rasa.com/u/VengefulJalapeno)\
**Post date:** [April 28, 2020, 4:24pm UTC](https://forum.rasa.com/t/rasa-x-default-web-application-port-settings/28155/1 "2020-04-28T16:24:31Z")

</div>

Hi folks,

Is there a way to change the Rasa X default ports for accessing the web application? (Ports 80 and 443). I’m running Rasa X (0.27.7) using Docker on a Linux based server after having followed the [Rasa X Docker-Compose Manual Install](https://rasa.com/docs/rasa-x/installation-and-setup/docker-compose-manual/).

I have searched through the documentation and forums, but I’ve only found how one can [set the ports for older versions of Rasa X using the “–rasa-x-port” argument](http://forum.rasa.com/t/changing-port-number-of-rasa-x-instance/15049). I know the [Rasa X installation guide requires ports 80 and 443 to be open](https://rasa.com/docs/rasa-x/installation-and-setup/docker-compose-manual/#hardware-os-requirements), but I’m wondering if there is a setting that one can change?

I’m sorry if I missed the answer in the docs or forums. I’m hoping it is still possible in the newest (and future) versions of Rasa X.

Thanks

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [April 29, 2020, 9:06pm UTC](https://forum.rasa.com/t/rasa-x-default-web-application-port-settings/28155/2 "2020-04-29T21:06:58Z")

</div>

Yes, in the `docker-compose.yml` you will find the `nginx` service which looks something like this:

```auto
  nginx:
    restart: always
    image: "rasa/nginx:${RASA_X_VERSION}"
    ports:
      - "80:8080"

```

You can modify the port value there but it’s recommended that you create a `docker-compose.override.yml` to override the default.

```auto
  nginx:
    ports:
      - "81:8080"

```

---

<div class="post-metadata">

**Author:** ![VengefulJalapeno](https://avatars.discourse-cdn.com/v4/letter/v/9fc348/32.png) [@VengefulJalapeno](https://forum.rasa.com/u/VengefulJalapeno)\
**Post date:** [April 30, 2020, 9:56pm UTC](https://forum.rasa.com/t/rasa-x-default-web-application-port-settings/28155/3 "2020-04-30T21:56:15Z")

</div>

Thank you @stephens ! That worked perfectly.

---

<div class="post-metadata">

**Author:** ![ShayVD](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/shayvd/32/4646_2.png) [@ShayVD](https://forum.rasa.com/u/ShayVD)\
**Post date:** [September 15, 2020, 10:42am UTC](https://forum.rasa.com/t/rasa-x-default-web-application-port-settings/28155/5 "2020-09-15T10:42:27Z")

</div>

@stephens Is there a way to do this when using the helm chart on kubernetes? At the moment I can only access Rasa X on “domain\_name:8000” where I’d like to just access it using the domain name.

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [September 15, 2020, 8:34pm UTC](https://forum.rasa.com/t/rasa-x-default-web-application-port-settings/28155/6 "2020-09-15T20:34:10Z")

</div>

Yes, you can specify this in the helm `values.yml` under the `rasax.port` key. You can see that in the example [values.yml](https://github.com/RasaHQ/rasa-x-helm/blob/2bf553d0094e0c09f1cefde2b53817bfe13f4430/charts/rasa-x/values.yaml#L16).
