min and max for port