# 使用80和443以外的端口-如何操作？

**URL:** <https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [2022年二月11日 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:** 1\
**Showing post:** 4

<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:** [2022年二月11日 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](#):
>
> 你们有人知道有什么 **变通方法** 可以让我用在我的情况吗？

唯一支持的变通方法是配置监听端口 80 和 443 的服务，将主域名的子文件夹请求传递给 Discourse 容器。这已在 [使用 Docker 的子文件夹支持](https://meta.discourse.org/t/subfolder-support-with-docker/30507) 中进行了文档记录。

---

_[View the full topic](https://meta.discourse.org/t/using-other-ports-than-80-and-443-howto/217915)._
