Skip to content

Commit

Permalink
users/config: Clarify usage of multiple listen addresses (syncthing#468)
Browse files Browse the repository at this point in the history
Before it was not clear how to specify multiple listen addresses in the config file. Before, you would assume to separate them by comma in the <listenAddress> block, which does not work. Comma separation is for the GUI, the config file needs multiple to be specified like this:

```
<listenAddress>ADDRESS1</listenAddress>
<listenAddress>ADDRESS2</listenAddress>
```
  • Loading branch information
TwizzyDizzy authored and calmh committed Sep 14, 2019
1 parent d8c31e2 commit 3873707
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions users/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -792,8 +792,7 @@ setLowPriority
Listen Addresses
^^^^^^^^^^^^^^^^

The following address types are accepted in sync protocol listen addresses
(multiple can be specified by comma separation):
The following address types are accepted in sync protocol listen addresses. If you want Syncthing to listen on multiple addresses, you can have multiple ``<listenAddress>`` tags. The same is achieved in the GUI by entering several addresses separated by comma.

Default listen addresses (``default``)
This is equivalent to ``tcp://0.0.0.0:22000``, ``quic://0.0.0.0:22000``
Expand Down

0 comments on commit 3873707

Please sign in to comment.