Listen Property

Listen

Description IP addresses and ports on which to listing for incoming requests.
Synopsis listen: [ "http(s)://[IP address:]portNumber", ...]
Examples listen: [ "http://:80", "https://:443", ]
Notes

The Listen directive specifies the IP endpoints on which Ioto will listen for incoming HTTP requests. If you specify only the port number and omit the IP address, Ioto will listen on all network interfaces including the loop-back adaptor. It will listen on both IPv4 and IPv6 if only a portNumber is specified.

To listen on IPv6 endpoints, enclose the IP address in square brackets. For example: Listen [2001:05c0:9168:0000:0000:0000:0000:0001]

To listen on IPv4 endpoints, supply an IPv4 IP address. You may use 0.0.0.0 to listen on all IPv4 interfaces.

To listen for TLS requests, use a "https://" prefix.

© Embedthis Software. All rights reserved.