I'm using the VirtualBox NatNetwork type to connect most of my VMs to the host (with the required ports set up for forwarding). I'd like to know how I can connect to the local loopback ("localhost") of the host from inside the VM (e.g. use apt-cacher-ng inside the VM).
The usage of NAT with connections to IPs of interfaces of the host is clear for me and works.
I'm using VirtualBox 4.3.10 on Ubuntu 14.04 with Linux 3.11.13.