الوصول إلى Discourse عبر إعادة توجيه المنفذ من الراوتر

أنا أقوم بتشغيل Discourse على خادم Ubuntu داخل شبكتي.
ولكي أتمكن من الوصول إلى التثبيت من خارج شبكتي، أحتاج إلى إعادة توجيه المنافذ على جهاز التوجيه الخاص بي.
هل قام أحدكم بذلك بنجاح ويمكنه المساعدة في معرفة مكان إعداد هذا بشكل صحيح في الإعدادات؟

بشكل أساسي، أحتاج من خارج شبكتي إلى الوصول إلى myinstall.com:9050، والذي يجب أن يعيد التوجيه إلى المنفذ 80.

أي مساعدة أو إرشاد سيكون موضع تقدير كبير.

Check https://ngrok.com/

Thanks for that

I already have a static “hostname” which I use.
On my router I have set a port eg. “9050” to point to port 80 on my webserver
But im looking for a setting somewhere in the backend of Discourse where i can add the port :9050 at the end of the domain name for site wide access

Whenever discourse sends and email the link is mydomain.com and not mydomain.com:9050 which means i cannot access it from outside of my network.

You can map discourse to any port in your yml file

There should be lines

80:80 
443:443

Change those to:

9050:80
#443:443

And is there a way in the BackEnd to specify the URL must always end with :9050

That is exactly what it would do.
Or if You want more control, You can run discourse behind a reverse proxy and set up nginx so that it serves discourse on 9050

Thank you
Waiting for everything to rebuild after editing so i can test

Right. Discourse will not work on a non standard port.

You need to have whatever is doing the reverse proxy to send requests for discourse.example.com to the internal server.

Thank you to all for the advise etc…
I have decided it seems to be the smarter option to use the DEV Version which allows you to use Port 3000 out the “Box” and I think this is a better option for me for now

Thanks Again to all…