high-availability-add-on
latest
false
- Overview
- Requirements
- Installation
- Upgrade
- Troubleshooting
- Installation issue with port 53
- Failed initial Redis installation
- Firewall blocking HTTP connections
Firewall blocking HTTP connections

High Availability Add-on installation guide
Last updated Jun 10, 2025
Firewall blocking HTTP connections
During the Redis installation process, specific HTTP calls are made to Redis instances on the server. If the firewall settings are not properly configured, these HTTP calls fail, resulting in errors such as the following:
curl: (7) Failed connect to 127.0.0.1:9443; Connection refused
curl: (7) Failed connect to 127.0.0.1:9443; Connection refused
To address the firewall issue:
-
Temporarily disable the firewall (short-term fix):
sudo service firewalld stop
sudo service firewalld stop -
Work with system administrators to properly configure the firewall for Redis (long-term solution). Open the necessary ports:
firewall-cmd --permanent --add-port=<port/protocol>
firewall-cmd --permanent --add-port=<port/protocol>Refer to the official Redis documentation for the required port configurations.
-
If necessary, enable pinging:
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