I use Windows (7) OS as a development platform, running on a Mac / Parallels Desktop 5.
Parallels Desktop for Mac is the first solution that gives Apple users the ability to run Windows, Linux or any other operating system and their critical applications at the same time as Mac OS X. I have windows 7 installed via parallels on mac air, its asking I have windows 7 installed via parallels on mac air, it's asking for a password, but I never set a password read more.
Smart Select is a promising feature, at least in theory: when Parallels is running, files on either the Windows virtual machine or your Mac can be opened with either Windows or Mac applications. The Parallels person duplicated the original Windows installation, thinking that would make it open. I have the installation disk, but don't know how to get it to install. If you copy an older Parallels Desktop executable file to your desktop or to the Dock, or create an icon for the old filename, the program won't launch properly or won't launch at all. Resolution Remove Parallels Desktop icons from your Mac OS desktop and the Dock. Today windows won't boot. It starts (black screen/Windows - Answered by a verified Mac Support Specialist We use cookies to give you the best possible experience on our website.
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 ?
sorinclosed as off-topic by madth3, Sahil Mittal, talonmies, Kamil Budziewski, Michael SchmidtSep 18 '13 at 6:19
This question appears to be off-topic. The users who voted to close gave this specific reason:
- 'Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User.' – madth3, Sahil Mittal, talonmies, Kamil Budziewski, Michael Schmidt
5 Answers
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
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 yourIP4-adress.Edit your macs hosts file as described in this blogpost. Put in thefollowing line, replacing my windows VMs local IP (here 10.211.55.5) with the one you found out in the step before:
Then, you can access the localhost of windows using win instead of localhost, for example http://windows:8080/someapp
This depends on how your network card is setup in the virtual machine. I don't know how it is in parallels, but in VMWare Fusion you can either set it up as 'bridged' (which means sharing the same ip with the host), 'NAT' which means it will have it's own private ip address and connect to the internet through the host , or 'Private network' which means it will have a private IP address and will not connect to the internet. In the second and third case you can access the web server running on windows using the private ip address of the virtual machine, but in the bridge case I don't think this can be done.
mateimateiSounds to me like your Parallels config is set to Host-Only networking for the Guest.Switching to Shared Networking should give your guest Windows OS a local IP address.
Then, you will have to access the Windows local IP address (not 127.0.0.1) from the Mac browser. You can find out the IP address to use by opening a command prompt in the Windows guest and taking a look at the output of the ipconfig
command.
I have followed the instructions above and Akku's provided the important hint, although for me it did not work.When I run ipconfig in the windows command line, I get 10.211.55.3 as an IPv4-Address and 10.211.55.1 as the standard gateway. Using 10.211.55.3 in the windows hosts file (C:WindowsSystem32driversetchosts) did not work - not sure why. So I tried: 10.211.55.2 and it worked.
Summing up: you have to set up your apache virtual host config first as described and then you have to open: C:WindowsSystem32driversetchosts and enter: 10.211.55.2 mysite.localhost (or whatever you defined in your virtual host config file). Hope this helps for those with the same problem as me.
I found this here: http://sirprize.me/scribble/accessing-localhost-on-lion-host-with-windows-guest-on-parallels/
Not the answer you're looking for? Browse other questions tagged macoswindows-7localhostvirtual-machineparallels or ask your own question.
Symptoms
- Your Windows virtual machine (or another OS) no longer boots, and you cannot start it.
- You get an error message when you try to start your virtual machine.
- You get a critical error message or the virtual machine does not boot because of the Blue Screen of Death (BSOD).
Cause
- Windows OS installed in this virtual machine is corrupted.
- A Mac OS X-related issue (lack of free disk space, wrong permissions on Parallels Desktop files).
- A Parallels Desktop issue.
Resolution
Before trying solutions described here, we recommend that you search for a solution with the error message you get when you start your virtual machine: kb.parallels.com
Itunes For Mac Won't Open
Parallels Desktop gives me an error message when I start my virtual machine, or nothing happens.
You cannot start your virtual machine because of the error message “hdd file is missing, corrupted, or used by other application” appears on virtual machine startup. See KB 4680.
You cannot start your virtual machine because of this error: ”Your virtual machine may run slow because virtualization support is disabled on your Mac.” See KB 111693.
You cannot start your virtual machine because of permissions issues, and you see the error message: “Access denied: you do not have enough rights to use this virtual machine.” See KB 5796.
After you upgrade Parallels Desktop for Mac, your virtual machine fails to start in Mac OS X 10.5.8 Leopard with the following error message: “Critical error when starting virtual machine on Mac OS X.” See KB 9231.
You cannot start the virtual machine because the Mac hard drive has errors. An error occurred while accessing the hard disk:
PRL_ERR_DISK_READ_FAILED(820021029),errno=5 (input/output error
). See KB 112140.- You cannot start your virtual machine because its hard disk is locked by Parallels Mounter. The error message “There is no operating system installed' appears when you start the virtual machine that was just ejected from Finder. See KB 113617.
My Windows does not boot - it is stuck but I do not get an error message dialogue
Nook For Mac Won't Open
Your Windows virtual machine is stuck at this stage: “A disk read error occurred when starting Virtual Machine.” See KB 112869.
- Windows is stuck at “Trying to boot from SATA drive...” See KB 113342.
Windows boots with a Blue Screen of Death (BSOD)
Such errors are hardware- or driver-related, causing the virtual machine to stop responding in order to prevent damage to the hardware or data. Contact Microsoft for assistance: support.microsoft.com/kb/129845.