Nginx bad gateway and connection errors

view story

http://serverfault.com – I've followed this tutorial for a basic installation of nginx. I always get bad gateway errors and when i look at the logs i see : [error] 3226#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client Here is my nginx.conf and contents of my sites-available/defaults nginx.conf, defaults I am also seeing this error : conflicting server name "explorable.com" on, ignored I am using Ubuntu 12.04, PHP5-FPM Thank you! (HowTos)