I've been trying to learn more about security by following http://www.pentesterlab.com/bootcamp/week2/, but I'm struggling to access my VM's internal IP localhost from the host machine.
I'm able to access the host machine's internal IP from the VM (using 10.0.2.2) and I can access the VM's internal IP from the VM(10.0.2.15), but that is not what I'm interested in. I want to do it the other way around.
Obviously, I can access my host machine's IP from the host machine (192.168.1.142), but I cannot access the VM's IP from the host machine. I've tried many ways to find the VM's IP and used everything I could think of, but nothing will load.
I have tried switching from NAT to Bridged Adapter and back multiple times and changing various settings, but I only lose the ability to connect to the IP the other way around under Bridged Adapter. I've explored Google links of people with similar problems for hours, but can't find anything that works. Thanks for your help!