ignore port when comparing