<div dir="ltr">Check your fastcgi code. Ensure that it is running properly. Have you checked the logs of that process?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 24, 2013 at 10:23 AM, <a href="mailto:coolbhushans@gmail.com">coolbhushans@gmail.com</a> <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone<br>
I am new to nginx  so really need u r help<br>
<br>
<br>
My problem is that i set up niginx server on windows  and it runs very well<br>
. But i want to run c++ programs i.e(.exe)<br>
so i come accross fast-cgi lib then i compiled source successfully now i<br>
have fast cgi wraper for .exe ie. cgi-fcgi.exe<br>
<br>
now i changed in nginx.conf as<br>
<br>
location ~ /fcgi/$ {<br>
    include fastcgi_params;<br>
    fastcgi_pass <a href="http://127.0.0.1:3000" target="_blank">127.0.0.1:3000</a>;<br>
}<br>
<br>
and running it as <a href="http://localhost/fcgi/" target="_blank">http://localhost/fcgi/</a> in browser<br>
<br>
it not working so i checked error log and i found<br>
upstream prematurely closed connection<br>
<br>
so any guess<br>
thanks in advance<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,235556,235556#msg-235556" target="_blank">http://forum.nginx.org/read.php?2,235556,235556#msg-235556</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>