关于nginx中connect() failed (111: Connection refused) while connecting to upstream的问题

银粟 发布于 2016/09/07 17:23
阅读 8K+
收藏 0

大家好,最近在配置nginx的时候出现了这样一个错,请大家帮忙看下:

错误日志为:

2016/09/07 16:14:18 [error] 18932#18932: *2177 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.99.120, server: etc_server, request: "GET /manager/ HTTP/1.1", upstream: "http://127.0.0.1:10080/", host: "192.168.99.215"

nginx配置为:

server{
        listen 80;
        server_name etc_server ;
        index index.do;

        location ^~ /manager/ {
                proxy_set_header Host $host;
                proxy_pass http://127.0.0.1:10080/;
        }

}

请大家忙看下,谢谢!

加载中
返回顶部
顶部