'cmd' is the command you enter into the Run dialog, and 'netstat' is what you enter into the command window e.g.
'netstat' will then look for all TCP and UDP connections, and list them all, with their local port, remote port, and status. The numbers you want to look at are the ones immedaitely following the colons.
If you like, you can just paste the 'netstat' results here, along with the program that's complaining about not being able to open a port, and I'll have a look and tell you which program is getting in the way.