From 7c587e0855e59bdacb053a12098056c8b41ac2ed Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Mon, 28 Dec 2015 14:43:00 -0800 Subject: [PATCH] Documentation: clarification on official etcd ports This is for https://github.com/coreos/etcd/issues/3480. This adds a notice that etcd officially use 2379 and 2380 for client and server ports. --- Documentation/configuration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/configuration.md b/Documentation/configuration.md index aeeac2611..5d5627ea0 100644 --- a/Documentation/configuration.md +++ b/Documentation/configuration.md @@ -4,6 +4,8 @@ etcd is configurable through command-line flags and environment variables. Optio The format of environment variable for flag `-my-flag` is `ETCD_MY_FLAG`. It applies to all flags. +The [official etcd ports](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=etcd) are 2379 for client requests, and 2380 for peer communication. Some legacy code and documentation still references ports 4001 and 7001, but all new etcd use and discussion should adopt the assigned ports. + To start etcd automatically using custom settings at startup in Linux, using a [systemd][systemd-intro] unit is highly recommended. [systemd-intro]: http://freedesktop.org/wiki/Software/systemd/