Bind the api according to config

Use api_host and api_port from config instead of hardcoded values