Questions regarding network policy 1- if one specifies ingress from rule to spec . . .

sfds:
questions regarding network policy
1- if one specifies ingress from rule to specific port does it mean that automatically all the the other connections are not allowed?
2- if there is deny and ingress from what is the better

Basavraj Nilkanthe:
@sfds To answer your first question – Yes if you enable with specific port in either ingress or egress rule in network and it will block connection to other ports … If you dont mention port it means you will be allowed to access any ports…

Basavraj Nilkanthe:
2- Not understanding your second question