# 端口 (:3001) / 子域名问题

**URL:** <https://meta.discourse.org/t/port-3001-subdomain-issue/229689>\
**Category:** Self-hosting\
**Created:** [2022年六月11日 22:32 UTC](https://meta.discourse.org/t/port-3001-subdomain-issue/229689 "2022-06-11T22:32:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [2022年六月12日 01:21 UTC](https://meta.discourse.org/t/port-3001-subdomain-issue/229689/2 "2022-06-12T01:21:37Z")

</div>

Discourse 仅在 80/443 端口上运行。您需要参阅 [如何在已有 Apache 站点的服务器上设置 Discourse](https://meta.discourse.org/t/how-to-set-up-discourse-on-a-server-with-existing-apache-sites/30013) 或 [在已有 Nginx 的计算机上设置 Discourse](https://meta.discourse.org/t/setting-up-discourse-on-a-machine-with-existing-nginx/121869)。

---

_[View the full topic](https://meta.discourse.org/t/port-3001-subdomain-issue/229689)._
