I am working with a Matrix demo on a virtual machine. Now, I can get either of these two scenarios:
- Get an IP address that I can access Matrix on, but I can’t connect to outside hosts
- Get an IP address that won’t load in the browser (setting it as matrixdemo.squiz.net in the hosts file), though I can connect to outside hosts (as per ‘curl’).
I am using VirtualBox with the two respective network settings:
- Host-only adapter
- NAT
I have tried switching through all the network options – well, most of them – but these are the only two settings that give me IP addresses.
I am at a loose end now. I can get into Matrix and design my site, but I can’t access any APIs, which are critical for me to set things up with.
I would be grateful for any help in understanding VirtualBox networking or diagnosing my set up.