add port min and max value