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 ?
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