set client and enable host