OptionalfirstPort: number
The first port to try or empty for a random port
maximum amount of tries to get a port, default to MAX_DEFAULT_TRIES
Optionalhost: string
The address to bind the probe to, empty for the wildcard address (see probeHost)
A valid free port
Try to get a free port.