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.

But this doesn't happen in the production mode. I get a "This URL is
valid, but the connection was refused" error.

Does anyone know why this is happening? I have already spent a lot of
time trying to get at the cause of this problem.

Many thanks in advance!

--~--~---------~--~----~------------~-------~--~----~
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