1

I have a linux host with virtualhosts on 127.0.0.1 and 127.0.0.2 and 127.0.0.3 (the reason is that I need multiple domains with https) and I would like to access them from virtualbox in a windows guest. Now I know that 10.0.2.2 in the virtualbox gets to 127.0.0.1, but I need to get to the other IP-s of the host in order to enable IE to see my virtualhosts in https. How can I do it?

1 Answer 1

1

These IP addresses are loopback addresses. They aren't bound to your network card. To access your host through several IP addresses, you need several network cards, or virtual IPs. But this can't work with 127.0.0.X

1
  • thanks. I changed the IP-s on the host, added eth0:1 = 192.168.142.1, eth0:2 = 192.168.142.2, eth0:3 = 192.168.142.3, and I use these IP-s from the guest OS (and not 10.0.2.2)
    – Gavriel
    Apr 22, 2013 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.