Added Duplicates not allowed for ports

Added Duplicates not allowed for ports