Passenger and Parallels running Vista?

1 view
Skip to first unread message

elliottg

unread,
Aug 28, 2009, 12:55:54 PM8/28/09
to Phusion Passenger Discussions
I have searched around a fair amount and I have yet to find any info
on getting Paralles to work with Passenger.

My dev box is running Leopard, then I have Parallels set up to run
Vista just for IE really. With Mongrel I could access it thru
Parallels at 192.168.1.100:3000 in IE.

For instance my vHost ServerName is testsite.local when I call that up
in Vista Parallels IE it doesn't work.

How would I get Parallels to work with Passenger?

Thanks a ton.
Elliott

Hongli Lai

unread,
Aug 28, 2009, 8:34:09 PM8/28/09
to phusion-...@googlegroups.com

How are you associating Parallels with Phusion Passenger? Parallels is
virtual machine software. Phusion Passenger is web app deployment
software. To me the two have as much in common as apples and
crocodiles.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

elliottg

unread,
Aug 28, 2009, 8:55:57 PM8/28/09
to Phusion Passenger Discussions
I'm not drawing a connection between two such disparate apps as
Passenger and Parallels.

I am just curious if anyone can give me a tip or a link to a resource
that would show me how to configure my instance of Vista running in
Parallels so that it's browsers can access vHosts on my Mac that are
Passenger powered.

Example: In Vista Internet Explorer via Parallels I can access a Rails
app being served by Mongrel at localhost:3000 but it can't pull up any
vHost ServerNames from the OS X host.

I am unable to access a Passenger served Rails app in Vista IE through
a vHost ServerName such as testsite.local for instance. What I have
found online points to editing some config files within the virtual
Vista instance to make testsite.local accessible like it is in the OS
X host browsers.

I have yet to find the info I need to get the virtual Vista instance
working as desired with Passenger. With this being a Passenger list, I
figured others have had the same issue when getting their dev
environment switched over to support Passenger deployment.

Thanks
> E-mail: i...@phusion.nl

Donovan Bray

unread,
Aug 28, 2009, 11:12:24 PM8/28/09
to phusion-...@googlegroups.com
Your problems don't have anything to do with passenger; but everything
to do with DNS and firewalls and potentially routing.

At minimum you will need to edit your /etc/hosts and create a name
other than localhost and use that name to define your vhosts. Once
you have apache responding correctly to the new name on your mac you
need to add it to your vista parallels instance. windows' host file is
in a directory like c:\windows\drivers\etc\hosts (google it to be
sure) except that instead of pointing it to 127.0.0.1 like you did on
the mac side you'll point it to your macs real LAN address which you
can get with ifconfig. Make sure your macs firewall is turned off or
you've made exceptions for whatever ports you are using to serve the
app. Vistas firewall shouldn't need to be modified.

elliottg

unread,
Sep 2, 2009, 3:54:42 PM9/2/09
to Phusion Passenger Discussions
Donovan,

I was out of town for a bit. Thanks for the thorough reply. I'll try
editing the Vista hosts file and I'll post my results.

Thanks again.
Elliott

On Aug 28, 11:12 pm, Donovan Bray <donno...@gmail.com> wrote:
> Your problems don't have anything to do with passenger; but everything  
> to do with DNS and firewalls and potentially routing.
>
> At minimum you will need to edit your /etc/hosts and create a name  
> other than localhost and use that name to define your vhosts.  Once  
> you have apache responding correctly to the new name on your mac you  
> need to add it to your vista parallels instance. windows' host file is  
> in a directory like c:\windows\drivers\etc\hosts (google it to be  
> sure) except that instead of pointing it to 127.0.0.1 like you did on  
> the mac side you'll point it to your macs real LAN address which you  
> can get with ifconfig.  Make sure your macs firewall is turned off or  
> you've made exceptions for whatever ports you are using to serve the  
> app. Vistas firewall shouldn't need to be modified.
>
> On Aug 28, 2009, at 5:55 PM,elliottg<x...@simplecircle.net> wrote:
>
>
>
>
>
> > I'm not drawing a connection between two such disparate apps as
> > Passenger and Parallels.
>
> > I am just curious if anyone can give me a tip or a link to a resource
> > that would show me how to configure my instance of Vista running in
> > Parallels so that it's browsers can access vHosts on my Mac that are
> > Passenger powered.
>
> > Example: In Vista Internet Explorer via Parallels I can access a Rails
> > app being served by Mongrel at localhost:3000 but it can't pull up any
> > vHost ServerNames from the OS X host.
>
> > I am unable to access a Passenger served Rails app in Vista IE through
> > a vHost ServerName such as testsite.local for instance. What I have
> > found online points to editing some config files within the virtual
> > Vista instance to make testsite.local accessible like it is in the OS
> > X host browsers.
>
> > I have yet to find the info I need to get the virtual Vista instance
> > working as desired with Passenger. With this being a Passenger list, I
> > figured others have had the same issue when getting their dev
> > environment switched over to support Passenger deployment.
>
> > Thanks
>
> > On Aug 28, 8:34 pm, Hongli Lai <hon...@phusion.nl> wrote:
> >> On Fri, Aug 28, 2009 at 6:55 PM,elliottg<x...@simplecircle.net>  
Reply all
Reply to author
Forward
0 new messages