Exception for equal domain-s and/or port-s

Within #212.