Specifies the port number and optional IP address for creating a TCP server.
listen
Optional
The IP address of the network interface to bind to.
If not defined, defaults to 0.0.0.0 to allow connections on any network device.
0.0.0.0
"127.0.0.1" Copy
"127.0.0.1"
The port number to accept TCP connection from.
80 Copy
80
Generated using TypeDoc
Specifies the port number and optional IP address for creating a TCP server.
listen