Are you familiar with windows device manager? If you select “view” in device manager, there is a selection “show hidden devices”.
The icons with color, are the active ones. The grayed out ones have been used in the past, or are not connected at the time you look
This should give you a hint as to which port numbers are in use connected or not connected.