Compare commits

...

2 commits

Author SHA1 Message Date
Trevor Slocum c026f5c7b1 Clarify IPv4 and IPv6 configuration 2023-05-06 10:49:39 -07:00
Ivan Vilata-i-Balaguer 668e099ffa Add quotes for IPv6 address configuration example
Since leaving the quotes out in the config file causes the confusing "did not
find expected key" error, so do not assume that the user is familiar enough
with YAML syntax as to identify the issue.
2023-05-04 09:23:31 +02:00

View file

@ -10,18 +10,19 @@ via the `--config` argument.
Address to listen for connections on in the format of `interface:port`.
### Listen on localhost
`localhost:1965`
### Listen on an IPv4 or IPv6 address
`192.0.2.1:1965` or `[2001:db8::1]:1965`
### Listen on all interfaces
### Listen on all addresses (IPv4 and IPv6)
`:1965`
### Listen on a specific address (IPv4 or IPv6)
`192.0.2.1:1965` or `"[2001:db8::1]:1965"` (please note the quotes and brackets
for IPv6 addresses).
### Listen on localhost (IPv4 only)
`localhost:1965`
## Types
Content types may be defined by file extension. When a type is not defined for