changed "config.get('client','host')" to "config.get('rest_api','host')"
- the same for the 'port' argument