Question on port matching

How much do you want me to write the check for ? :)
Part of the answer is application-specific and so you really can't answer it without a "but what if..."follow up... but many want that one size fits all answer...