I am writing a web application that uses a script to pull data from the battle.net APIs. This script works fine on my local machine, successfully using curl to get an oauth token and then using that token to pull json data from the API.
When I run the script on my VPS web host it successfully gets an oauth token but then all further requests to to the API are denied with a curl Connection refused error.
Is it possible I’ve been unlucky enough to be granted an IP that has been previously blacklisted by Blizzard? My web host is Scala Hosting.
Any help would be appreciated.