Listener and runtime
← All configuration scenariosBind an address
The default 127.0.0.1:8080 accepts connections from the same machine. To accept traffic through a published container port, set the listener to all IPv4 interfaces inside the container.
{
"listen": {
"host": "0.0.0.0",
"port": 9000
}
}listen.host accepts a hostname, IPv4 address or unbracketed IPv6 address. listen.port accepts an integer from 1 to 65535. Clients connect using the service’s reachable hostname and published port. For HTTP/3, also publish UDP and configure the advertised port if the mapping differs.
Choose runtime features
See Runtime features to enable a flag and check what your server actually uses.