Using other ports than 80 and 443 - HowTo?

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

DIscourse requires ports 80 and 443.

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

2 Likes

What is your reason for having an onsite discourse server ?

2 Likes

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.

Oh, and there’s this: Discourse on a residential internet with Cloudflare Tunnel

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

1 Like