Re: [mongrel2] Bad Gateway/Connection Refused on Ubuntu
- From:
- Matt Towers
- Date:
- 2011-01-12 @ 20:07
Thanks for the quick reply!
The config file I'm using is the test config that is distributed with
Mongrel2 in test/config.sqlite.
✈ Matt
On Jan 12, 2011, at 11:54 , Zed A. Shaw wrote:
> On Wed, Jan 12, 2011 at 11:50:15AM -0800, Matt Towers wrote:
>> Has anyone attempted to get Mongrel2 working on Ubuntu Server 10?
>> After a little bit of hacking, I managed to get it installed and
>> running. However when I attempt to "curl http://localhost:6767/" (see
>> section 3.2, Source 6 in the manual), curl returns "Bad Gateway" and
>> the log file spews the following:
>
> Yep, I test it on an ubuntu server or two.
>
>> [ERROR] (src/connection.c:260: errno: Connection refused) Failed to
connect to proxy backend 127.0.0.1:8080
>
> If you show me your config file I can point out the error. This says
> that it's trying to proxy to a server running on localhost:8080 and that
> server isn't running.
>
> --
> Zed A. Shaw
> http://zedshaw.com/
Re: [mongrel2] Bad Gateway/Connection Refused on Ubuntu
- From:
- Zed A. Shaw
- Date:
- 2011-01-12 @ 20:42
On Wed, Jan 12, 2011 at 12:07:04PM -0800, Matt Towers wrote:
> Thanks for the quick reply!
>
> The config file I'm using is the test config that is distributed with
> Mongrel2 in test/config.sqlite.
Alright, read it more carefully and you'll see it wants to proxy to a
server on port 8080. Do this in another window:
cd examples/chat
python www.py
Then you'll get a test server.
--
Zed A. Shaw
http://zedshaw.com/