I have installed nginx and PHP into my machine. I want to know the difference between these to configuration when using PHP-fpm.
> fastcgi_pass 127.0.0.1:9000;
or
>fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
which configuration is good for production servers, what is the benefit, what is the difference between the two configs?