Override for a vulnerability on a specific port

I have web servers on several ports on one system and want to whitelist a vulnerability for only one port and not for all of them.
Is that possible?

Thank you!

Isn’t this just to use the location field? Like “443/tcp” for instance.