Parallels For Mac Localhost
- Parallels For Mac Support
- Parallels For Mac Localhost Setup
- Set Up Localhost Mac
- Parallels For Mac Activation Key
- Parallel For Mac
How do I run a virtual host and a localhost (XAMPP) parallel on a Mac? Update Cancel. Ad by Udacity. Is it possible to make a site using just Django on my localhost, and not XAMPP? Is is possible to create a hosted network in a Windows 10 VM created through Parallels running on a Mac? What can I do to run a localhost without the. Parallels Toolbox for Mac and Windows Over 30 one-touch tools—clean your drive, secure private files, take screenshots, or download a video all with just a single click. Easy to use, no hassle, and no complex keyboard shortcuts. This is the default and recommended network mode for virtual machines, as it does not require any specific configuring and works 'out of the box'. When this networking mode is used Parallels Desktop will work as a virtual router for your virtual machine. As a result: When this network mode is used.
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 ?
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
I love the holidays. I love the lights, the hot toddies, giving fun gifts to people, and maybe* something for myself while I’m at it. (*In other words, this is the shopping list for myself!).
For a limited time, get 20% off Parallels Desktop 13 for Mac at www.parallels.com. Use Mac and Windows applications side-by-side, without rebooting. Bring your favourite Windows applications to Mac—from Microsoft Office to QuickBooks for Windows, Internet Explorer, Access, Visual Studio, AutoCAD, Project, Visio, and more. Enter your email address and don't miss out on new posts.The windows command line opens. Type
ipconfigand 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.
Information
Virtual machine can use three different networking modes depending on user needs:
To switch between network modes go to macOS menu bar when virtual machine is active > Devices menu > Network.
Note: configuring Shared and Host-Only networks is available in Pro Edition in Parallels Desktop Preferences > Network.
Shared Networking
This is the default and recommended network mode for virtual machines, as it does not require any specific configuring and works 'out of the box'. When this networking mode is used Parallels Desktop will work as a virtual router for your virtual machine. As a result:
- Parallels Desktop creates a separate virtual subnet with its own virtual DHCP server running in macOS.
- A virtual machine belongs to that virtual subnet with its own IP range.
- A virtual machine is not visible in the real subnet the Mac belongs to.
- A virtual machine use full Internet access.
- If Mac is connected to virtual private network - VPN access is automatically shared with virtual machine.
This network mode is suitable for most of user needs.
Bridged Network
When this network mode is used, your virtual machine uses a virtualized network interface card with direct access to Internet. As a result:
- A virtual machine appears as a separate computer that belongs to the same subnet as the Mac it is running on.
- A DHCP server (e.g., your router) provides a virtual machine with an IP address within the same IP range as other computers in the same subnet.
- A virtual machine can ping and see all computers in the subnet.
- Other computers can ping and see the virtual machine.
Note: when selecting this network mode Parallels Desktop is no longer responsible for network connectivity issues.
Bridged network can be enabled on a particular network interface, such as Ethernet, Wi-Fi or other Mac network interfaces.
- Bridged: Ethernet corresponds to your Mac Ethernet adapter
- Bridged: Wi-Fi corresponds to your Mac Wi-Fi adapter. (may work unstable depending on router settings)
- Bridged: Default Adapter corresponds to whichever network adapter is chosen as the default (the first in the list System Preferences > Network) on the Mac.
Host-Only Network
This mode is similar to Shared Network except that this virtual subnet (10.37.129.x) is isolated from the outer world. As a result, the virtual machine that is working in host-only mode can only see and ping other virtual machines and communicate with the gateway (10.37.129.1).
Additional information
The networking technology basics below should help you decide which networking mode to choose.
When talking about networking we often use terms like IP address, DHCP Server, subnetwork, and many others. The first three are the most important in our case.
Parallels For Mac Support
IP address
A numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol (IP) for communication.
IP addresses are represented in dot-decimal notation, which consists of four decimal numbers, each ranging from 0 to 255, separated by dots, e.g., 192.168.0.10. Each part represents a group of eight bits of the address. IP addresses, like regular addresses, are used by computers and other devices to communicate with each other.
An IP address can be assigned to a network device (e.g., computer, printer, tablet, smartphone, etc.) either manually by a user or a System Administrator, or automatically by a DHCP server. To see the IP address of your Mac, go to System Preferences > Network.
Your Mac will normally use either a Wi-Fi connection:

or an Ethernet (cable) connection:
DHCP server
A computer or a specific network device (router) that maintains a database of available IP addresses and configuration information. When the server receives a request from a client device (e.g., computer, printer), the DHCP server determines the network to which the DHCP client is connected, and then allocates an IP address that is appropriate for the client, and sends configuration information appropriate for that client.
In an average home network your router will work as a DHCP server that automatically assigns the IP addresses to all your network devices so that you do not need to worry about the IP addresses and other necessary settings for your Mac or a smartphone.
Parallels For Mac Localhost Setup
Subnetwork (subnet)
A logically visible subdivision of an IP network. The practice of dividing a network into two or more networks is called subnetting.

All computers that belong to a subnet are addressed with a common, identical, most-significant bit-group in their IP address. For example, a typical home subnet will have IP addresses in the following range: 192.168.0.1-255. This means your Wi-Fi router will have an IP address of 192.168.0.1, your MacBook Pro® will have an IP address of 192.168.0.10, your smartphone - 192.168.0.20 and your wireless printer - 192.168.0.30. To learn more about the settings of the DHCP server, please read your router's documentation.
Traffic between subnetworks is exchanged or routed with special gateways called routers, which constitute the logical or physical boundaries between the subnets.
Network adapters (NIC) types in virtual machine configuration explanation
In virtual machine configuration you can choose between 4 types of network interface card (NIC):
Virtio network adapter is the fastest card. However, it works only in Linux and BSD guest operating systems. It is a default adapter for Linux-based OSes.
Set Up Localhost Mac
Intel® PRO/1000 MT is a default network adapter for Windows and Mac OS X virtual machines. It works in all operating systems. It also counts a checksum and splits packages. Thus it allows to increase the network performance.
Parallels For Mac Activation Key
Intel® Gigabit CT (82574L) Support for this network interface was added in Parallels Desktop 11 for Mac. This is Intel's e1000e Ethernet driver.
Parallel For Mac
Realtek RTL8029AS is the simplest adapter from the list. It does not count a checksum or split packages. The Realtek adapter can be used only if you have Parallels Tools installed in your virtual machine. Without Parallels Tools it will work very slow or even will not work at all. It works especially good with Windows XP virtual machines.