Can you try:
curl http://127.0.0.1:8080/subdomain/ -H "host: subdomain.mydomain.com" -v
or
wget http://127.0.0.1:8080/subdomain/ --header "host:
subdomain.mydomain.com" --debug
from the nginx machine and send the output, looks like there is some error
in the network configuration
+Fasih
On Wed, Nov 23, 2011 at 7:56 PM, nicksoft <nginx-forum@nginx.us> wrote:
> I found error in nginx log:
>
> 2011/11/22 16:26:12 [error] 1423#0: *1 connect() failed (111: Connection
> refused) while connecting to upstream, client: xxx.yyy.zzz.vvv, server:
> subdomain.mydomain.com, request: "GET / HTTP/1.1", upstream:
> "http://127.0.0.1:8080/subdomain/", host: "subdomain.mydomain.com"
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,218793,218839#msg-218839
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
--
+Fasih
*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*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx