consistent domain-port mapping