# 警告：计算机的端口 443 似乎无法访问，但网页正常

**URL:** <https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-but-web-page-is-ok/238120>\
**Category:** Self-hosting\
**Created:** [2022年九月5日 06:27 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-but-web-page-is-ok/238120 "2022-09-05T06:27:16Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dalu](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dalu](https://meta.discourse.org/u/dalu)\
**Post date:** [2022年九月19日 02:21 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-but-web-page-is-ok/238120/10 "2022-09-19T02:21:14Z")

</div>

> [@ghassan](#):
>
> 我认为您有多种处理此类部署的方式，因为通常 WordPress 都附带自己的代理服务器，Discourse 也是如此。所以您的选择可能是：

抱歉回复晚了，我暂时脱离网络和论坛一段时间了，感觉很好，但在离开前我尝试修复了电子邮件问题，但访问论坛时仍然出现 502 错误。

抱歉我解释错了，我不需要在同一台服务器上运行 WordPress，那只是为了举一个您无法做到的例子。  
事实上，我只有 4 个域名指向此服务器上的简单网站。  
Discourse doctor 似乎没有错误  
但我仍然在论坛域名上收到 502 错误  
我需要像他们在这里说的那样安装 haProxy 吗？谢谢

> [@Set up Discourse on a server with existing Apache sites](https://meta.discourse.org/t/how-to-set-up-discourse-on-a-server-with-existing-apache-sites/30013):
>
> It’s not as daunting as it sounds! While this may sound a bit intimidating at first, it’s really not all that bad. You basically need to do two things: Install HAProxy (or an alternative) which will take over port 80 and then divert your Discourse traffic to your docker container, and all your other sites to your usual Apache set-up. Let Apache know which port to listen for. While this is only a rough guide, it should do a good job of pointing you in the right direction. Let’s get star…

---

_[View the full topic](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-but-web-page-is-ok/238120)._
