Added unique index to prevent duplicate ip/port combos