# Discourse docker 运行成功，无法访问 discourse 主机名

**URL:** <https://meta.discourse.org/t/discourse-docker-runs-successfully-cannot-access-discourse-host-name/384451>\
**Category:** Self-hosting\
**Created:** [2025年十月1日 09:20 UTC](https://meta.discourse.org/t/discourse-docker-runs-successfully-cannot-access-discourse-host-name/384451 "2025-10-01T09:20:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Shin\_210](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shin_210/32/522110_2.png) [@Shin\_210](https://meta.discourse.org/u/Shin_210)\
**Post date:** [2025年十月1日 09:20 UTC](https://meta.discourse.org/t/discourse-docker-runs-successfully-cannot-access-discourse-host-name/384451/1 "2025-10-01T09:20:06Z")

</div>

在按照 [此文档](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md#1-preparing-your-domain-name) 操作后，我成功启动了 discourse，但访问配置的 discourse 主机名时返回 404。有什么问题吗？

编辑：更多信息，我运行了“./discourse-setup --skip-connection-test”  
正如 [此主题](https://meta.discourse.org/t/port-80-443-not-accessible-while-installing-discourse/280363/4) 中提到的。如果我只运行“./discourse-setup”，我会收到一个错误：

 ![Screenshot from 2025-10-01 16-37-21](https://global.discourse-cdn.com/meta/original/4X/a/3/0/a30d41f4ad43f1407631c29a4bdfea046400a5be.png)

 ![Screenshot from 2025-10-01 16-19-45](https://global.discourse-cdn.com/meta/original/4X/e/3/b/e3b72d323ae5a1e5633b1b8ff9e0842da410d0d8.png)  
 ![Screenshot from 2025-10-01 16-21-33](https://global.discourse-cdn.com/meta/original/4X/4/6/9/469fcec67c40a889f224d23fd3f93f4575e706b5.png)

---

_[View the full topic](https://meta.discourse.org/t/discourse-docker-runs-successfully-cannot-access-discourse-host-name/384451)._
