11

I am needing to access the localhost of a guest windows 8 vm from my Mac OS (10.9) host. The windows 8 vm is running in VMWare Fusion. How can I do this?
I have tried getting the guest ip address with ipconfig, and then typing that IP address into the browser on my mac, but it won't connect, and i can't ping that ip address from the mac either.
I have tried doing this in both NAT and Bridged networking modes in VMWare Fusion.

2 Answers 2

11

I have found what I needed to do here. To connect to localhost of the guest os firstly:

  • make sure the network settings of the windows vm in vmware fusion are set to: NAT (Share with my mac)
  • Turn off windows firewall for guest or public networks in windows 8 (just search for windows firewall and select "Turn Windows Firewall on or off")
  • get the ip address of the windows vm by opening a command prompt and typing "ipconfig"

Once you have done these things, you should be able to switch to the mac os, and navigate the windows ip address in a web browser.

2
  • 1
    You don't have to turn the firewall off entirely if you don't want to; you can create an inbound rule in the firewall. E.g. for http access create a rule for port 80. The profile will need to be public.
    – Carl
    Commented May 15, 2015 at 14:09
  • Also working fine in bridged mode
    – Vaiden
    Commented Aug 18, 2018 at 15:21
3

To add a bit of detail to Tyler's answer, where he wrote "make sure the network settings of the windows vm in vmware fusion are set to: NAT (Share with my mac)", in Fusion 5 you do this by going to Fusion's menu Virtual Machine --> Settings, click on Network Adapter, and select Share With My Mac.

1
  • That was not enough. Calling localhost didn't work from mac. Then I went to windows and looked at the IP address of the Ethernet0 adapter. That worked. I also added a firewall rule to allow the request to go through for the port I wanted.
    – lnaie
    Commented Mar 3, 2020 at 8:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .