# 无法连接到 localhost:6379 上的 Redis (Errno::EADDRNOTAVAIL)

**URL:** https://meta.discourse.org/t/error-connecting-to-redis-on-localhost-6379-errno-eaddrnotavail/183647
**Category:** Self-hosting
**Created:** [2021 年3 月 18 日 11:46 UTC](https://meta.discourse.org/t/error-connecting-to-redis-on-localhost-6379-errno-eaddrnotavail/183647 "2021-03-18T11:46:48Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2021 年3 月 20 日 21:29 UTC](https://meta.discourse.org/t/error-connecting-to-redis-on-localhost-6379-errno-eaddrnotavail/183647/11 "2021-03-20T21:29:52Z")

</div>

如果您按照 [Discourse 官方标准安装指南](https://meta.discourse.org/t/discourse-official-standard-installation/142537) 进行安装，我们在生产环境中并未使用 Puma。

我们在所有安装实例的整个应用中都使用 DELETE/PUT 动词，并未发现任何问题，因此我猜测这可能是您特定安装环境中的情况。

虽然可能性不大，但 @Andrea_Giovacchini，该域名前是否部署了某种 WAF（Web 应用防火墙）？

---

_[View the full topic](https://meta.discourse.org/t/error-connecting-to-redis-on-localhost-6379-errno-eaddrnotavail/183647)._
