fetch kdb from localhost