Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring Open Ports

Perform the following operations on each node. By default, the etcd server uses port 2379 to monitor requests from the client and uses port 2380 to monitor requests from other servers. In this document, ports 2379 and 2380 are used.

  1. Open ports 2379 and 2380.
    firewall-cmd --zone=public --add-port=2379/tcp --permanent
    firewall-cmd --zone=public --add-port=2380/tcp --permanent
  2. Restart the firewall.
    firewall-cmd --reload
  3. 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.