Explorar o código

Merge pull request #4085 from gyuho/doc_iana

Documentation: clarification on official etcd ports
Xiang Li %!s(int64=10) %!d(string=hai) anos
pai
achega
f3b3557951
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Documentation/configuration.md

+ 2 - 0
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 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.
 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/
 [systemd-intro]: http://freedesktop.org/wiki/Software/systemd/