15
5
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!
1
If you found an answer add it as an answer. You are allowed (encouraged even) to answer your own questions. For now I'm removing the answer from your question. Also I'd advise researching what "localhost" means, as you're not using that term correctly. :)
– Ƭᴇcʜιᴇ007 – 2014-11-11T15:22:43.667