A possible fix could be that the entry localhost:port/* is needed in authorized HTTP referrers.
Entering a specific port number doesn’t work with wildcard. Enterpring ‘port’ for some reason seams to work.
Alternative Fix:
Create a new API key and leave the HTTP referrer blank. Use the development API key on you local host instances and use a production API on you production instances.