website: More port use docs

This commit is contained in:
Armon Dadgar 2014-08-05 10:46:52 -07:00
parent 11c14dd355
commit 09a1c40444

View File

@ -286,23 +286,24 @@ definitions support being updated during a reload.
## Ports Used
* `TCP:8300` Server RPC port. Used to bootstrap agents and replicate data.
Should be open between agents.
Consul requires up to 5 different ports to work properly, some requiring
TCP, UDP, or both protocols. Below we document the requirements for each
port.
* `TCP+UDP:8301` Serf LAN port. Used by the gossip protocol. Should be opened
to all other agents on the same LAN.
* Server RPC (Default 8300). This is used by servers to handle incoming
requests from other agents. TCP only.
* `TCP+UDP:8302` Serf WAN port. Used by the gossip protocol. Should be opened
to all other agents on the same WAN.
* Serf LAN (Default 8301). This is used to handle gossip in the LAN.
Required by all agents, TCP and UDP.
* `TCP:8400` Used by the RPC endpoint, which is also used by the CLI. Should be
opened to localhost only to serve your local CLI. Also needs to be opened to
any client doing RPC requests against this agent.
* Serf WAN( Default 8302). This is used by servers to gossip over the
WAN to other servers. TCP and UDP.
* `TCP:8500` Used by the HTTP api. Should be opened to localhost only to
serve your local requests. Also needs to be opened to any client doing api
requests against this agent.
* CLI RPC (Default 8400). This is used by all agents to handle RPC
from the CLI. TCP only.
* HTTP API (Default 8500). This is used by clients to talk to the HTTP
API. TCP only.
* DNS Interface (Default 8600). Used to resolve DNS queries. TCP and UDP.
* `TCP+UDP:8600` Used by the DNS server. Should be opened to localhost only to
serve your local requests. Also needs to be opened to any client doing DNS
queries against this agent.