Here is a section of my network policy:
egress:
-to:
- ipBlock:
cidr: 10.0.0.0/32
- ipBlock:
cidr: 10.0.0.1/32
ports:
- protocol: TCP
port: 5978
I have a doubt whether these IPs will be allowed to connect to the same port.
Basically, if we want to have a different port for a different IP, what can we do?