I use Windows (7) OS as a development platform, running on a Mac / Parallels Desktop 5.
I would like to access the Windows localhost - from the Mac side for testing purposes.
I've found many solutions of accessing the other way around (access Mac's localhost from Windows) - but found no solution for this access direction (if any).
Any idea ? Is it possible ?
When operating Parallels in Full-screen Mode, both Windows and Mac operating systems will fill the screen. The easiest way to switch between them is by simply swiping with three fingers on your trackpad.
Make sure that all Devices and Shared items are enabled in Finder preferences > Sidebar. In Finder open Shared items, locate your virtual machine and connect to it. In Finder open your Mac computer item > drag and drop Windows disk to Favorites.
Isolating Windows from OS X may provide a higher level of security by not allowing compromised items from one OS to come into contact with the other. Do one of the following: Click the Parallels icon in the menu bar and choose Configure.
The above didn't help me, but this did:
Go to Windows VM, go to Start --> Run... --> type cmd.exe
The windows command line opens. Type ipconfig
and find out your IP4-adress.
Edit your macs hosts file as described in this blogpost. Put in the following line, replacing my windows VMs local IP (here 10.211.55.5) with the one you found out in the step before:
10.211.55.5 windows
Then, you can access the localhost of windows using win instead of localhost, for example http://windows:8080/someapp
I had the same problem as you Ranch. I'm running Win7 on Mac OS X (Snow Leopard) / Parallels 5. I solved my localhost problem on mac , by turning off win7 firewall and "enable" anonymous authentication in Authentication setting in IIS Manager.
Also I've configured in parallels:
Configure - hardware - Network adapter 1: Default Adapter
Preferences - network - connection type - shared networking
Edit: For Parallels 8
Configure > Hardware > Network adapter 1: Default Adapter
Preferences > Advanced > Network: Change Settings
> Shared
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With