# 主机名无法访问 443 端口，80 端口也失败了

**URL:** https://meta.discourse.org/t/port-443-not-accessible-using-hostname-and-port-80-also-fails/395326
**Category:** Self-hosting
**Created:** [2026年二月5日 21:36 UTC](https://meta.discourse.org/t/port-443-not-accessible-using-hostname-and-port-80-also-fails/395326 "2026-02-05T21:36:57Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![iam\_best](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iam_best/32/542180_2.png) [@iam\_best](https://meta.discourse.org/u/iam_best)
#### Post date: [2026年二月6日 19:28 UTC](https://meta.discourse.org/t/port-443-not-accessible-using-hostname-and-port-80-also-fails/395326/7 "2026-02-06T19:28:34Z")

</div>

我收到 curl: (7) Failed to connect to (IP here) port 80 after 0 ms: Could not connect to server 错误

Cloudflare 控制面板显示其运行状况良好。

我忘记提到的是，我还在托管 raspap，它是一个树莓派的热点，它还托管一个网络仪表板，但我已将其端口更改为 81。

---

_[View the full topic](https://meta.discourse.org/t/port-443-not-accessible-using-hostname-and-port-80-also-fails/395326)._
