Application Port Question

I have a general question:

When I allow an application as trusted application do I then need to enter the port #'s also?

Does an application like Winamp know what ports to use on its own if I use Predefine Trusted Application?