Configuring Open Ports
Perform the following operations on each node. By default, the etcd
- Open ports 2379 and 2380.
firewall-cmd --zone=public --add-port=2379/tcp --permanent firewall-cmd --zone=public --add-port=2380/tcp --permanent
- Restart the firewall.
firewall-cmd --reload
- Check whether the ports are opened successfully.
firewall-cmd --zone=public --query-port=2379/tcp firewall-cmd --zone=public --query-port=2380/tcp
If yes is displayed in the command output, the configuration is successful.
Parent topic: Deploying an etcd Cluster