• Returns the default port number for a given protocol.

    Parameters

    • protocol: string

      The protocol string.

    Returns number

    The default port number of the protocol.