high-availability-add-on
latest
false
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

High Availability Add-on 安装指南
上次更新日期 2025年10月8日
在 Redis 安装流程中,系统会对服务器上的 Redis 实例进行特定 HTTP 调用。如果防火墙设置未正确配置,这些 HTTP 调用会失败,从而导致以下错误:
curl: (7) Failed connect to 127.0.0.1:9443; Connection refused
curl: (7) Failed connect to 127.0.0.1:9443; Connection refused
要解决防火墙问题:
-
暂时禁用防火墙(短期修复):
sudo service firewalld stop
sudo service firewalld stop -
与系统管理员合作,为 Redis 正确配置防火墙(长期解决方案)。 打开必要的端口:
firewall-cmd --permanent --add-port=<port/protocol>
firewall-cmd --permanent --add-port=<port/protocol>有关所需的端口配置,请参阅 Redis 官方文档。
-
如果需要,请启用 ping:
firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p icmp -s 0.0.0.0/0 -d 0.0.0.0/0 -j ACCEPT
firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p icmp -s 0.0.0.0/0 -d 0.0.0.0/0 -j ACCEPT