mirror of
https://code.rocketnine.space/tslocum/twins.git
synced 2024-11-27 08:28:14 +01:00
Clarify IPv4 and IPv6 configuration
This commit is contained in:
parent
668e099ffa
commit
c026f5c7b1
1 changed files with 5 additions and 5 deletions
|
@ -10,18 +10,18 @@ via the `--config` argument.
|
||||||
|
|
||||||
Address to listen for connections on in the format of `interface:port`.
|
Address to listen for connections on in the format of `interface:port`.
|
||||||
|
|
||||||
### Listen on localhost
|
### Listen on all addresses (IPv4 and IPv6)
|
||||||
|
|
||||||
`localhost:1965`
|
`:1965`
|
||||||
|
|
||||||
### Listen on an IPv4 or IPv6 address
|
### Listen on a specific address (IPv4 or IPv6)
|
||||||
|
|
||||||
`192.0.2.1:1965` or `"[2001:db8::1]:1965"` (please note the quotes and brackets
|
`192.0.2.1:1965` or `"[2001:db8::1]:1965"` (please note the quotes and brackets
|
||||||
for IPv6 addresses).
|
for IPv6 addresses).
|
||||||
|
|
||||||
### Listen on all interfaces
|
### Listen on localhost (IPv4 only)
|
||||||
|
|
||||||
`:1965`
|
`localhost:1965`
|
||||||
|
|
||||||
## Types
|
## Types
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue