5

*2 connect() failed (111: Connection refused) while connecting to upstream

view full story
linux-howto

http://serverfault.com – 2012/10/26 14:57:49 [error] 14180#0: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 24.0.20.48, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:81/", host: "107.20.184.144" This is the nginx error that I get which results in a 503 error. Not sure what to do about it. connect() failed (111: Connection refused) while connecting to upstream said to use php-fpm, but I'm using Rails, so I think it's a different error. Any help would be GREATLY appreciated. Thank you EDIT: If it matters, this machine has Apache2 running on port 81 it seems. No (HowTos)