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.
- Boot up the VM and open up the Windows command prompt (go to “Start->Run…”, enter “cmd” and press enter)
- Type
ipconfigto see the network configuration. Take note of the “Default Gateway” address. - Navigate to C:\WINDOWS\system32\drivers\etc and edit the
hostsfile. 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
- Open up a browser in the VM and type in the address.
Tada! Now you can test out your app in those other browsers.
- Operating System:
- Technology:


Recent comments
20 weeks 4 days ago
20 weeks 5 days ago
22 weeks 4 days ago
24 weeks 6 days ago
39 weeks 4 days ago
42 weeks 4 days ago
43 weeks 2 days ago
43 weeks 2 days ago
43 weeks 4 days ago
45 weeks 6 days ago