Block port of a container running in a pod

Hi,
How can I block a port in a container, which running inside a pod on kubernetes cluster.?

Pods are not isolated until they have a NetworkPolicy that selects them.