# Problem with pound + mongrel

**URL:** <https://www.ruby-forum.com/t/problem-with-pound-mongrel/90271>\
**Category:** Deployment\
**Created:** [March 27, 2007, 9:35am UTC](https://www.ruby-forum.com/t/problem-with-pound-mongrel/90271 "2007-03-27T09:35:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@andreas](https://www.ruby-forum.com/u/andreas)\
**Post date:** [March 27, 2007, 9:35am UTC](https://www.ruby-forum.com/t/problem-with-pound-mongrel/90271/1 "2007-03-27T09:35:00Z")

</div>

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…)

---

<div class="post-metadata">

**Author:** ![andreas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@andreas](https://www.ruby-forum.com/u/andreas)\
**Post date:** [March 27, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/problem-with-pound-mongrel/90271/2 "2007-03-27T16:11:34Z")

</div>

Can you hit any of the mongrel clusters directly from a browser?  
What does netstat show you about the mongrel cluster? (netstat -tunlp)

-Scott
