Function checkPortPrivate

  • Check that a given port is a valid port and it is not occupied

    Parameters

    • port: string | number

      the port to check

    • portDescription: string

      a brief description for the service that will use that port (e.g. 'rest API')

    • rangeMin: number = 1025

      lower boundary for acceptable port range

    • rangeMax: number = 65536

      upper boundary for acceptable port range

    Returns Promise<void>

Generated using TypeDoc