Virtual port threat

Hi guys! I need advice on virtual port. How many serial ports can be connected to Windows?