ZillaG wrote:When running in headless mode, we can't connect to our website running locally on the Windows machine (not the VirtualBox VM). When running in normal mode, we can.
This seems a puzzle. Why would the VM runner make a difference in network comms? It shouldn't.
ZillaG wrote:If I turn Windows firewall off, it works
This means Firewall is interfering somehow, not the Virtualbox VM runner.
ZillaG wrote:I've put VBoxHeadless.exe in the firewall
Shouldn't have to do this. Virtualbox just works with Windows Firewall, no tweaking needed. I suspect unnecessary firewall rules.
Without more info about what IP addresses and ports are being used, what network type the VM is using, what firewall rules have been added, etc., we wouldn't be able to guess accurately.
Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. Zip the VM's .vbox file (not the .vbox-prev file), and post the zip file, using the forum's Upload Attachment tab. (Configure your host OS to show all extensions if the folder that opens does not show a .vbox file.)
In the Windows OS, open a Command Prompt and run
ipconfig /all. Post the command output. Label which is which.
In the Linux OS, open a Terminal and run
ifconfig or
ip address. Post the command output.
In both host and VM OS's, ping 8.8.8.8. Post the command output. Label which is which.