I'm deploying my first Rails app on a Debian server. For this I have
chosen a Mongrel cluster to serve my app, and Pound to balance it. My
problem is I can't get it to work. I keep getting an "503 Service
Unavailable" when trying to load the site (from a remote machine). My
setup is as follows:

pound.cfg:

ListenHTTP
  Address  ip.to.my.server
  Port 80

  Service
    BackEnd
      Address 127.0.0.1
      Port 8000
    End
    BackEnd
      Address 127.0.0.1
      Port 8001
    End
    BackEnd
      Address 127.0.0.1
      Port 8002
    End
    Session
      Type IP
      TTL 300
    End
  End
End

With Pound running, I have configured and started up a 3-server Mongrel
cluster on ports 8000-8002, but this setup refuses to work. My logfiles
says something about "pound: backend 127.0.0.1:8000 connect: Connection
refused". What's up with that? Is Mongrel refusing the connections sent
by Pound. If so: why? What am I doing wrong? (I have tried various
configurations, such as specifying Pound Listen-address to 0.0.0.0,
127.0.0.1, actual IP of my server etc. but nothing seem to work..)

-- 
Posted via http://www.ruby-forum.com/.

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

Reply via email to