Sometimes it’s necessary to see what ports are in your use, when you are trying to install an application so that you can either shutdown the old one or change the Port Number of the new one.
To see which ports are being used by Windows run the following command
NETSTAT -a -b
As said earlier, NETSTAT will display all the ports that are operational on the computer