Cannot run ASP.NET Web API with Nginx and Mono on Ubuntu

Good day,
first of all I am new to Linux OS and mono.

I am tryiing to run my ASP.NET Web API on Ubuntu with Nginx and Mono.
Here
is what I’ve done so far:

I have installed mono, nginx, fastcgi-server4 and all successful.
I have followed all the steps from the following URL to run my
application
on Linux:

http://piotrwalat.net/running-asp-net-web-api-services-under-linux-and-os-x/

When I run the following command:

fastcgi-mono-server4 --appconfigdir /etc/webapps
/socket=tcp:127.0.0.1:9002

nothing happens, Terminal doesn’t show any response. What can I do???

Here are my configurations:

Virtual host configuration:

server {
listen 5757;
server_name localhost;
root /var/www/TestWebSite;
access_log /var/log/nginx/test.access.log;

     location / {
             index index.html index.htm default.aspx Default.aspx;
             fastcgi_index /Default.aspx;
             fastcgi_pass 127.0.0.1:9002;
             include /etc/nginx/fastcgi_params;
     }

}

My MonoWebApi.webapp:

TestWebSite localhost 5757 / /var/www/TestWebSite

Posted at Nginx Forum:

On Mon, Nov 10, 2014 at 02:01:13AM -0500, FireFalcon wrote:

Hi there,

When I run the following command:

fastcgi-mono-server4 --appconfigdir /etc/webapps /socket=tcp:127.0.0.1:9002

nothing happens, Terminal doesn’t show any response. What can I do???

What response do you expect to see?

I don’t run this system, but I would expect that you would have to
access
some url to cause nginx to invite the fastcgi server to process a file
and generate the output (or an error message).

What “curl” request do you make, or where do you point your browser;
and what response do you get there?

f

Francis D. [email protected]