How Do I Access localHost From VMware
In order to access your Windows XP machine from your Windows 7 you will need to set your network adapter as Bridged
once you do that your Windows XP machine is considered another device on your network.
So your IP Address would be something like 192.168.0.10 as an example, this way you can access it from your Windows 7 Machine.
Related videos on Youtube
NL500
Updated on September 18, 2022Comments
-
NL500 over 1 year
I've created a new WinXP vitual machine on my win7 using VMware player. The VM is using NAT to share the host's Internet connection and when i put
http://192.168.163.2/
in IE on VM, i can easily access the localhost on the win7.It's fine to test sites for cross browser compatibility but when i'm going to test my wordpress blog on VM it doesn't load images. I think to solve the problem i need to access wordpress using
http://localhost/wordpress
NOThttp://192.168.174.2/wordpress
.I've added an entry to the Windows hosts file, which is located at C:\Windows\system32\drivers\etc\hosts, to map the IP address to a (virtual) server name but it doesn't work:
192.168.163.2 localhost
Then i tried this and it works but still doesn't load images:
192.168.163.2 test.localhost
What should i do to solve the problem?
-
NL500 almost 13 yearsThanks, but i want to access the localhost on win7 from winXP.
-
Sandeep Bansal almost 13 yearsYes with the bridged network setting you can also do that
-
Lorenzo Von Matterhorn over 11 yearsPlease don't simply post a link as an answer. Try to elaborate the answer/solution here and only then post the link as credits/source.
-
perry over 7 yearsTo access localhost like so you would have to setup a host entry on your VM where you link localhost to the IP of the host computer.
-
Dunc almost 6 years... broken link