Unicorn Nginx Issue
bketelsen at gmail.com
Tue Oct 13 13:20:42 EDT 2009
On Oct 13, 2009, at 12:57 PM, Matt Mongeau wrote:
> 2009/10/13 12:34:22 [error] 1007#0: *62 connect() to
> unix:/Users/user/projects/test/unicorn/tmp/sockets/unicorn.sock failed
> (61: Connection refused) while connecting to upstream, client:
> 127.0.0.1, server: unicorn.local, request: "GET / HTTP/1.1", upstream:
> host: "unicorn.local"
> ps -aux shows that the workers are created
> and ls -la show srwxrwxrwx 1 mattmongeau staff 0 Oct 13 12:51
> Any suggestions on what I am doing wrong. I running OSX 10.6.1, with
> nginx installed from passenger (nginx version: nginx/0.6.37)
> Thanks, Matt
You must have a host entry in /etc/hosts or in NetInfo for
unicorn.local - do you have it set to "localhost" or to 127.0.0.1?
I've seen issues in Mac OS where I had to explicitly use 127.0.0.1
instead of localhost, and the error messages looked similar.
More information about the mongrel-unicorn