Optional backlogOptional exclusiveDefault to false.
Optional hostDefault to localhost.
Optional ipv6For TCP servers, setting ipv6Only to true will disable dual-stack support, i.e., binding to host :: won't make 0.0.0.0 be bound.
Default to false.
Optional listenFunction that resolves text to log after server has been successfully started
Optional pathWill be ignored if port is specified.
Optional portDefault to 0 (picks the first available open port).
Optional readableFor IPC servers makes the pipe readable for all users.
Default to false.
Optional signalAn AbortSignal that may be used to close a listening server.
This option is available only in Node.js v15.6.0 and greater
Optional writableFor IPC servers makes the pipe writable for all users.
Default to false.
Specify the maximum length of the queue of pending connections. The actual length will be determined by the OS through sysctl settings such as
tcp_max_syn_backlogandsomaxconnon Linux. Default to511.