Interface GetAvailablePortOptions

Options for getAvailablePort.

interface GetAvailablePortOptions {
    preferredPort?: number;
}

Properties

Properties

preferredPort?: number

A port to check availability of first. If the port isn't available, fall back to another port.

Defaults to port 0, which will let the operating system choose an available port.

{0}