title: How to load balancing ASP.NET WebServices using Nginx
body: <p>guys i have tree web services running mono for asp.net </p>
  
  <pre><code> http://1.1.1.1:6789/Service.asmx
   http://1.1.1.2:6789/Service.asmx
   http://1.1.1.3:6789/Service.asmx
  </code></pre>
  
  <p>and i have this on my nginx web servers</p>
  
  <pre><code> upstream wsservices {
   ip_hash;
   server 1.1.1.1:6789;
   server 1.1.1.2:6789;
   server 1.1.1.3:6789;
   }
  
  
   server {
   listen 8192;
   error_page 502 503 504 @wsmant;
   location / {
   #proxy_set_header Host $host;
   #proxy_set_header X-Real-IP $remote_addr;
   #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   #proxy_redirect off;
   proxy_pass  http://wsservices;
   }
   location @wsmant {
      root /proxy/www;
      rewrite ^(.*) /wsmant.html break;
   }
   }
  </code></pre>
  
  <p>i can acces to the ws from the nginx but when i hit invoke i get</p>
  
  <pre><code> http://wsservices:8080/Service.asmx/testconnection? net::ERR_NAME_NOT_RESOLVED
  </code></pre>
  
  <p>and the problem is???? thanks!</p>