On Oct 7, 1:06 am, amrita <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just deployed my first rails application in production mode using
> Capistrano and mongrel clusters. Here are the lines in my
> mongrel_cluster.yml file.
>
> cwd: /myrailsdeploymath/current
> log_file: log/mongrel.log
> port: "8000"
> environment: production
> address: myserver.mydomain.org
> id_file: tmp/pids/mongrel.pid
> servers: 3
>
> My development and production machine are the same.
> When I run `cap deploy`, I can view my application perfectly well at:
>
> http://myserver.mydomain.org:8000/app
>
> from my own machine "myserver".
>
> However, I am unable to access the application from other computers on
> the intranet. The ports are open. I tested the development version on
> ports 8000, 8001, and 8002, using both WeBrick and Mongrel and I can
> access the application from other machines in the development mode.
>

Almost certainly mongrel cluster is binding the app to localhost (ie
is only accessible at the address 127.0.0.1).

You shouldn't be accessing the mongrels directly - typicall an
instance of apache, nginx etc... sits between browsers and the
mongrels, load balancing across them.

Fred

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to