Added range for FindNearestPort method