[server]

Configure the listen address and port used by tola dev and tola preview.

Override either setting for a single run with --interface or --port (for example tola preview --port 0).

Keys

interface

default: "127.0.0.1"

IP address to bind. Defaults to 127.0.0.1 (loopback only); use 0.0.0.0 or :: to accept connections from other hosts.

port

default: 5277

TCP port to bind. Use 0 to pick an available ephemeral port automatically.

Examples

Listen on port 8080 locally

toml
[server]
interface = "127.0.0.1"
port = 8080

Search this site

Use the arrow keys to move through results.

Type to search.