I'm working on a web page that we usually run in an Ubuntu virtual machine. This is obviously quite slow, so I've set it up to run in a docker container, mapping the port from the container to host. Everything works as it should, except for google maps. I get the following error:
However, when running and accessing the page from the Ubuntu virtual machine, the exact same address works (including the port number) so I know the URL is an allowed referrer.
I've done some googling, and I can't find anyone else having the same problems, so I'm assuming I've missed something. I've been using Docker for a little while, but I'm by no means an expert. Has anyone ran into this before? Any suggestions for getting around it?