Returns an available port in the current environment.
Optional
Number of the preferred port to be used if available.
Extra configuration for getting TCP ports.
A promise that resolves with an availabe port.
Returns an available port in the current environment.