Change Defaults Os For Apps On Mac With Parallels

Active5 months ago
  1. How To Search For Apps On Mac
  2. Change Defaults Os For Apps On Mac With Parallel's Desktop
  3. Change Defaults Os For Apps On Mac With Parallels Of Latitude
  4. Change Defaults Os For Apps On Mac With Parallels Movie

The usual means of changing the application a program uses to open a file is to click on the ‘Open With’ command (under the ‘File’ menu). If you want to change the default program you can also click ‘Other’ select the application and check the ‘Always Open With’.

i need to test my web site, running on a local Mac, under several browsers in Windows.

I use Windows XP, installed in Parallels Desktop.

It would be great, when i will be able to access my http://localhost:3000 from Windows, sitting in virtual environment (Parallels).

How to wire all the stuff up ?

How To Search For Apps On Mac

Update:

I figured out, how to access shared web-site on the mac.

I have following settings:

Parallels Desktop -> Preferences -> Network -> Shared Network

'Parallels Shared Networking Adapter #0' i tweaked with ip=192.168.123.1

From WinXP this ip is accessible via ping.

When on the Mac i turn the 'Shared Web' on, the address 'http://imac.local/~AntonAL' will get accessible from WinXP and Mac. Note, that i have set the name of my mac to 'iMac', which is equivalent to ip=192.168.123.1

But, the only problem, i can't figure out is unaccessible port 3000.

So, the address 'http://imac.local:3000' is still does't work from WinXP. Actually, it is not accessible even from the Mac ... possible i'm doing something wrong.

The question is - which address should i use in WinXP-side, to be able to access 'localhost:3000' on the Mac-side? Tried ips of 'Parallels Shared Networking Adapter #0', gateway, ip of the Mac, but still no success ...

AntonAL
AntonALAntonAL
3732 gold badges7 silver badges25 bronze badges

4 Answers

Try finding out your Mac's local IP address and accessing the webpage on your VM using that address.

You can find out your Mac's IP address under System Preferences, using the command ifconfig, or with some apps or Dashboard widgets (like iSlayer's iStat).

GenbaGenba

Type 'ipconfig' on your Windows command line. You will see information similar to what I see below:

If you note, in the last line is your Default Gateway and two lines above that is IPv4 Address. Default Gateway is the virtual router between your Windows and Mac OS X. Since, Windows is using IP address of x.x.x.3 and router is using x.x.x.1, then Mac is available at x.x.x.2. In my case I am able to access Mac at 10.211.55.2. So you can access your web server using http://x.x.x.2/ and in my case I use:

Change Defaults Os For Apps On Mac With Parallel's Desktop

I have edited my Windows 'hosts' file with following entry:

Now, I can type http://localhost.mac/ to access the web server running on my Mac. Though, this step of editing 'hosts' file in not required, it helps me.

As a side note, you can access your Windows based web server from Mac using the IPv4 address you get when you type 'ipconfig' on Windows.

Another way you can get Mac's virtual IP address is to type the following command on Mac OS X's Terminal:

Change Defaults Os For Apps On Mac With Parallels

'vnic0' is the virtual ethernet that Parallels installs on your Mac. In case, you have multiple Virtual Machine instances running you will see multiple virtual ethernet. All these virtual ethernets will begin with the word 'vnic'. If you have two VMs running, you will see 'vnic0' and 'vnic1' listed when you simply run 'ifconfig' command on Terminal.

In my case, when I type 'ipconfig vnic0' I get the following output, you will note that you get inet x.x.x.x IP address listed which.

Mac

I hope this helps you.

Cheers!

SG

Change Defaults Os For Apps On Mac With Parallels Of Latitude

Sameer GuptaSameer Gupta

My successful settings for access localhost:8001 for win (localhost running on my Macintosh).

  1. Setup Parallels Shared network: In menu settings Configure > Hardware > Network adapter 1: Default Adapter and then in Configure settings: Preferences > Advanced > Network: Change Settings > Shared.
  2. Then run this in the Macintosh command line: ifconfig | grep inet.
  3. Get the IP from subnet. Mine is 10.211.55.2.
  4. If your local site running on the Mac as: http://localhost:8001/ Then be sure setup hosts: Open in mac /etc/hosts and write it down—like in my case—10.211.55.2 localhost instead of 127.0.0.1 localhost
  5. Be sure thats your port is open 8001 in Windows and Mac. Follow next steps.
  6. For Macintosh: nmap -p 8001 10.211.55.2 it should success status (port open).
  7. For Windows: telnet 10.211.55.2 8001 it should success status (port open).
  8. Open hosts file in Windows and write. For example: 10.211.55.2 localhost
  9. Open the Windows browser and open the site http://localhost:8001
JakeGould
35.1k10 gold badges111 silver badges151 bronze badges
Anja IshmukhametovaAnja Ishmukhametova

Just run in the terminal:

And go to vnic0: inet address from the Parallels (like http://1x.2xx.5x.2:3000/ for ex.)

Donskikh AndreiDonskikh Andrei

Change Defaults Os For Apps On Mac With Parallels Movie

Not the answer you're looking for? Browse other questions tagged osx-snow-leopardvirtualizationweb-developmentparallels or ask your own question.