setup database for internal network access