# Andere poorten dan 80 en 443 gebruiken - HowTo?

**URL:** https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915
**Category:** Self-hosting
**Tags:** hosting
**Created:** [11 februari 2022 om 19:22 UTC](https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915 "2022-02-11T19:22:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![networker007](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@networker007](https://meta.discourse.org/u/networker007)
#### Post date: [11 februari 2022 om 19:22 UTC](https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915/1 "2022-02-11T19:22:42Z")

</div>

I am desperate … I need your help. I tried for hours and searched the www for information.

I **cannot use port 80 and 443** because they are **reserved for another server** in my network. in the router. pure port forwarding (from 8090 to 80 and 8091 to 443) does not work. Specifying other ports in the app.yml does not work.

does anyone of you have a **workaround** how I can implement this in my case?

thank you very much for your support

regards, Steve

 ![IMG_3170](https://global.discourse-cdn.com/meta/original/3X/3/5/35ff0691db4056104d1d10a0879dd7d79b074e1d.jpeg)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [11 februari 2022 om 19:25 UTC](https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915/2 "2022-02-11T19:25:34Z")

</div>

> [@networker007](#):
>
> does anyone of you have a **workaround** how I can implement this in my case?

DIscourse requires ports 80 and 443.

You will need to use another server (or figure out a reverse proxy solution).

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [11 februari 2022 om 19:29 UTC](https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915/3 "2022-02-11T19:29:22Z")

</div>

What is your reason for having an onsite discourse server ?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [11 februari 2022 om 20:01 UTC](https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915/4 "2022-02-11T20:01:46Z")

</div>

> [@networker007](#):
>
> does anyone of you have a **workaround** how I can implement this in my case?

The only supported workaround is configuring what is listening on the ports 80 and 443 to pass requests to a subfolder of the main domain to the Discourse container. That is documented at [Subfolder support with Docker](https://meta.discourse.org/t/subfolder-support-with-docker/30507).

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [11 februari 2022 om 20:15 UTC](https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915/5 "2022-02-11T20:15:16Z")

</div>

Oh, and there’s this: [Install Discourse on a residential internet with Cloudflare Tunnel](https://meta.discourse.org/t/discourse-on-a-residential-internet-with-cloudflare-tunnel/211297)

---

<div class="post-metadata">

### Author: ![networker007](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@networker007](https://meta.discourse.org/u/networker007)
#### Post date: [11 februari 2022 om 21:14 UTC](https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915/6 "2022-02-11T21:14:23Z")

</div>

**a big thank you to you guys** - i was afraid that my reasoning will be a challenge - i will find another solution for my network environment and adapt it to discourse and not vice versa
