Nginx gives bad 502 gateway, the log says 

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

```

And sure enough, the 9000 socket isn't open. 

The problem is: I don't know how to open this port. Other questions address this issue for php-fpm, suggesting to use a unix socket. However this doesn't seem applicable here because there is no php-fpm.conf for php-5.3.3.

I am using centos 5.3.