Merge pull request #271 from lra/doc_ports

website: Document used ports
This commit is contained in:
Armon Dadgar 2014-08-05 10:42:12 -07:00
commit 1824319dbf

View file

@ -283,3 +283,26 @@ definitions support being updated during a reload.
the Certificate Authority from the `ca_file`. By default, this is false, and Consul
will not make use of TLS for outgoing connections. This applies to clients and servers,
as both will make outgoing connections.
## Ports Used
* `TCP:8300` Server RPC port. Used to bootstrap agents and replicate data.
Should be open between agents.
* `TCP+UDP:8301` Serf LAN port. Used by the gossip protocol. Should be opened
to all other agents on the same LAN.
* `TCP+UDP:8302` Serf WAN port. Used by the gossip protocol. Should be opened
to all other agents on the same WAN.
* `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.
* `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.
* `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.