There can be many reasons, one may be in the interface tracks:
In my setup, the webpack server proxied the Symfony server to localhost: 8000. In the interface, I had this path in the configuration variable:
var configuration = { apiPath: 'http://localhost:8000/api/v1/' }
This caused requests to localhost: 8000 inside VirtualBox. I modified it to have a VirtualBox virtual bridge:
var configuration = { apiPath: 'http://10.0.2.2:8000/api/v1/' }
With this change, I got my application running on VirtualBox.
Heikki hannula
source share