Can you try:<div><br></div><div><div>curl <a href="http://127.0.0.1:8080/subdomain/">http://127.0.0.1:8080/subdomain/</a> -H "host: <a href="http://subdomain.mydomain.com">subdomain.mydomain.com</a>" -v </div><div>
<br></div><div>or</div><div><br></div><div><div>wget <a href="http://127.0.0.1:8080/subdomain/">http://127.0.0.1:8080/subdomain/</a> --header "host: <a href="http://subdomain.mydomain.com">subdomain.mydomain.com</a>" --debug</div>
</div><div><br></div><div>from the nginx machine and send the output, looks like there is some error in the network configuration</div><div><br></div><div>+Fasih</div><br><div class="gmail_quote">On Wed, Nov 23, 2011 at 7:56 PM, nicksoft <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us">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;">I found error in nginx log:<br>
<br>
2011/11/22 16:26:12 [error] 1423#0: *1 connect() failed (111: Connection<br>
refused) while connecting to upstream, client: xxx.yyy.zzz.vvv, server:<br>
<a href="http://subdomain.mydomain.com" target="_blank">subdomain.mydomain.com</a>, request: "GET / HTTP/1.1", upstream:<br>
"<a href="http://127.0.0.1:8080/subdomain/" target="_blank">http://127.0.0.1:8080/subdomain/</a>", host: "<a href="http://subdomain.mydomain.com" target="_blank">subdomain.mydomain.com</a>"<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,218793,218839#msg-218839" target="_blank">http://forum.nginx.org/read.php?2,218793,218839#msg-218839</a><br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>+Fasih<br><br><i>Wisdom doesn't automatically come with old age. Nothing does - except
wrinkles. It's true, some wines improve with age. But only if the
grapes were good in the first place</i><br><br>
</div>