Listener syntax

Description
Resources that define listeners, such as httpd and scriptport, use a common syntax to define the address and port to listen on.

Syntax
The syntax of is:
 * [address]:port


 * address
 * An optional numeric address to listen on. The default is . If an IPv6 address is used, it must be surrounded by square brackets, e.g.,.


 * port
 * The TCP port to listen on.

Examples
Listen on 127.0.0.1, port 8080. :8080 Listen on 1.2.3.4, port 8050. 1.2.3.4:8050 Listen on IPv6 address ::1, port 8040. [::1]:8040