Find TCP/UDP ports being used by an application