Is this your first visit? You may want to subscribe to the feed.

Articles tagged with vmware

Passenger and browser testing in virtual machines

If you’re running Passenger in development, here is how to make Windows running in a virtual machine connect to your app in Passenger.

  1. Boot up the VM and open up the Windows command prompt (go to “Start->Run…”, enter “cmd” and press enter)
  2. Type ipconfig to see the network configuration. Take note of the “Default Gateway” address.
  3. Navigate to C:\WINDOWS\system32\drivers\etc and edit the hosts file. Add a line with the gateway address pointing to your app’s domain (you can even list multiple on the same line).
    172.16.248.2    awesomeapp.local otherawesomeapp.local
  4. Open up a browser in the VM and type in the address.

Tada! Now you can test out your app in those other browsers.

Code: vmware Feb 08, 2010 ● updated Feb 08, 2010 0 comments

Subscribe

Browse by Tag