mirror of
https://code.rocketnine.space/tslocum/twins.git
synced 2024-11-27 11:28:14 +01:00
Compare commits
2 commits
066fe276eb
...
c026f5c7b1
Author | SHA1 | Date | |
---|---|---|---|
|
c026f5c7b1 | ||
|
668e099ffa |
1 changed files with 10 additions and 9 deletions
|
@ -10,18 +10,19 @@ 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`
|
|
||||||
|
|
||||||
### Listen on an IPv4 or IPv6 address
|
|
||||||
|
|
||||||
`192.0.2.1:1965` or `[2001:db8::1]:1965`
|
|
||||||
|
|
||||||
### Listen on all interfaces
|
|
||||||
|
|
||||||
`:1965`
|
`: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
|
## Types
|
||||||
|
|
||||||
Content types may be defined by file extension. When a type is not defined for
|
Content types may be defined by file extension. When a type is not defined for
|
||||||
|
|
Loading…
Reference in a new issue