add getter for port ranges
add getter for port ranges