From c098720a41134a29d76f7e70fb76b7ff7ce33568 Mon Sep 17 00:00:00 2001 From: Laurent Raufaste Date: Sun, 3 Aug 2014 20:51:43 -0400 Subject: [PATCH 1/2] Add a ports used section to the doc --- .../source/docs/agent/options.html.markdown | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/website/source/docs/agent/options.html.markdown b/website/source/docs/agent/options.html.markdown index bfafab5e8f..1bec8bab99 100644 --- a/website/source/docs/agent/options.html.markdown +++ b/website/source/docs/agent/options.html.markdown @@ -283,3 +283,21 @@ 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. From 2b6bb395ca3df06141e9f2b55ad4e84c3355751a Mon Sep 17 00:00:00 2001 From: Laurent Raufaste Date: Sun, 3 Aug 2014 20:52:36 -0400 Subject: [PATCH 2/2] Some breath --- website/source/docs/agent/options.html.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/source/docs/agent/options.html.markdown b/website/source/docs/agent/options.html.markdown index 1bec8bab99..85c8ac3063 100644 --- a/website/source/docs/agent/options.html.markdown +++ b/website/source/docs/agent/options.html.markdown @@ -288,16 +288,21 @@ definitions support being updated during a reload. * `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.