I am creating an app with ionic framework. I created an API via a cheerio scrape afterwards and connected to heroku to make a Hattp call. the problem is that while adding the android platform i get a ‘socket hang up’ error. How can I go about solving the problem? Thank you in advance. This is my code: Answer I