# 警告：使用新配置服务器中的主机名访问计算机的端口 443 似乎不可行

**URL:** <https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2023年二月9日 17:02 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645 "2023-02-09T17:02:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)\
**Post date:** [2023年二月9日 17:02 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/1 "2023-02-09T17:02:25Z")

</div>

警告：使用主机名 [team.krsh.org](http://team.krsh.org) 似乎无法访问计算机的 443 端口。

 ![Screenshot 2023-02-09 at 8.23.52 PM](https://global.discourse-cdn.com/meta/original/4X/5/3/5/5359cc3b243f831431eff65bfb2f0fbe88b07946.jpeg)

我已经按照 AWS Lightsail 中的所有步骤操作，使用了 2gb 内存和 1 个 CPU 核心，也尝试了“sudo ufw allow 443/tcp 命令”，但它不起作用。  
请帮助我解决这个问题，因为这是一台新机器，没有任何配置，我从头开始。

谢谢。

---

<div class="post-metadata">

**Author:** ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)\
**Post date:** [2023年二月9日 17:08 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/2 "2023-02-09T17:08:51Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/c/4/7/c47a1042c6aaa5e5dea08c6e26d404519ee4fd2b.jpeg)  
此 443 已启用，但仍出现错误

---

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [2023年二月9日 18:30 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/3 "2023-02-09T18:30:05Z")

</div>

如果是 AWS，您需要在安全组中启用这些端口。

---

<div class="post-metadata">

**Author:** ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)\
**Post date:** [2023年二月10日 06:21 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/4 "2023-02-10T06:21:31Z")

</div>

是的，它奏效了，谢谢你。  
现在安装后出现了一个新问题，当我尝试完成注册过程时，即注册管理员电子邮件没有收到。  
因此，我在 AWS 中的安全组中打开了 25 号端口，因为在安装过程中我使用了这个端口，但邮件仍然没有收到。  
我猜问题出在 smtp 服务器地址上，你能帮我找到 AWS EC2 实例的 smtp 服务器地址吗？因为我正在使用 AWS SES 邮件，并且我已经创建了 SMTP 凭证，并且我只使用了这些详细信息，但我不确定 smtp 服务器地址。  
请帮帮我。

谢谢。

---

<div class="post-metadata">

**Author:** ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)\
**Post date:** [2023年二月10日 07:16 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/5 "2023-02-10T07:16:48Z")

</div>

我已经将 SMTP 端点添加为 SMTP 服务器地址，并从 AWS 安全组打开了 SMTP 端口号 25，但仍未收到确认电子邮件。  
请帮助我。

---

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [2023年二月10日 07:19 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/6 "2023-02-10T07:19:34Z")

</div>

您正在使用哪个电子邮件提供商发送电子邮件？如果使用的是 SES，那么您需要退出沙盒模式才能发送电子邮件。

---

<div class="post-metadata">

**Author:** ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)\
**Post date:** [2023年二月10日 07:25 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/7 "2023-02-10T07:25:38Z")

</div>

是的，我只使用 SES。  
请解释一下这些设置，对我来说将非常有帮助，因为我需要尽快完成。

---

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [2023年二月10日 07:52 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/8 "2023-02-10T07:52:44Z")

</div>

> **[Request production access (Moving out of the Amazon SES sandbox) - Amazon...](https://docs.aws.amazon.com/ses/latest/dg/request-production-access.html)**
>
> Request production access by moving your account out of the Amazon SES sandbox and raise your sending quotas.

---

<div class="post-metadata">

**Author:** ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)\
**Post date:** [2023年二月11日 10:08 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/9 "2023-02-11T10:08:16Z")

</div>

嘿，我尝试将 AWS SES 移出沙盒环境，并且验证已完成，但仍然无法发送电子邮件。

还有其他可能导致此电子邮件错误的原因吗？以及如何调试此问题，请告知。  
执行 `./discourse-doctor` 时，在发送邮件时遇到此错误

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/6/2/0621dc8171c16d4e5064466771fc1b755cff4cd5.jpeg)

---

<div class="post-metadata">

**Author:** ![Kushalghosh9899](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kushalghosh9899/32/292844_2.png) [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)\
**Post date:** [2023年三月9日 06:41 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/11 "2023-03-09T06:41:36Z")

</div>

此问题正在通过更改 SMTP 端点/服务器来解决。

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2023年四月8日 06:42 UTC](https://meta.discourse.org/t/warning-port-443-of-computer-does-not-appear-to-be-accessible-using-hostname-in-the-newly-configured-server/254645/12 "2023-04-08T06:42:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
