Bad Gateway

We become indebted to.

When I read https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md, I got an error 502 when I installed PeerTube.
There is no problem when executing journalctl -fu peertube.

In the nginx log we saw the following:

2019/07/16 11:51:48 [error] 21844#21844: *10 no live upstreams while connecting to upstream, client: 〇〇, server: video.076.ne.jp, request: "GET /f
avicon.ico HTTP/2.0", upstream: "http://localhost/favicon.ico", host: "video.076.ne.jp", referrer: "https://video.076.ne.jp/"
2019/07/16 12:20:15 [error] 21844#21844: *14 connect() failed (111: Connection refused) while connecting to upstream, client: 〇〇〇〇, server: video.07
6.ne.jp, request: "GET / HTTP/1.1", upstream: "http://[::1]:9000/", host: "163.44.171.76:443"
2019/07/16 12:20:15 [error] 21844#21844: *14 connect() failed (111: Connection refused) while connecting to upstream, client: 〇〇〇〇, server: video.07
6.ne.jp, request: "GET / HTTP/1.1", upstream: "http://127.0.1.1:9000/", host: "163.44.171.76:443"
2019/07/16 12:20:15 [error] 21844#21844: *14 connect() failed (111: Connection refused) while connecting to upstream, client: 〇〇〇〇, server: video.07
6.ne.jp, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:9000/", host: "163.44.171.76:443"
2019/07/16 13:07:45 [error] 23557#23557: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 〇〇, server: video.076
.ne.jp, request: "GET / HTTP/2.0", upstream: "http://127.0.0.1:9000/", host: "video.076.ne.jp"
2019/07/16 13:07:45 [error] 23557#23557: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 〇〇, server: video.076
.ne.jp, request: "GET / HTTP/2.0", upstream: "http://127.0.1.1:9000/", host: "video.076.ne.jp"
2019/07/16 13:07:45 [error] 23557#23557: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 〇〇, server: video.076
.ne.jp, request: "GET / HTTP/2.0", upstream: "http://[::1]:9000/", host: "video.076.ne.jp"
2019/07/16 13:07:45 [error] 23557#23557: *1 no live upstreams while connecting to upstream, client: 〇〇, server: video.076.ne.jp, request: "GET /fa
vicon.ico HTTP/2.0", upstream: "http://localhost/favicon.ico", host: "video.076.ne.jp", referrer: "https://video.076.ne.jp/"
2019/07/16 13:07:46 [error] 23557#23557: *1 no live upstreams while connecting to upstream, client: 〇〇, server: video.076.ne.jp, request: "GET / H
TTP/2.0", upstream: "http://localhost/", host: "video.076.ne.jp"
2019/07/16 13:07:46 [error] 23557#23557: *1 no live upstreams while connecting to upstream, client: 〇〇, server: video.076.ne.jp, request: "GET /fa
vicon.ico HTTP/2.0", upstream: "http://localhost/favicon.ico", host: "video.076.ne.jp", referrer: "https://video.076.ne.jp/"

Could you tell me about the problem and what?
As we use automatic translator, there is a possibility of mistake.

Thank you.

Can you copy the output of the journalctl -eu peertube command please?

We’re sorry, it’s higher, so we decided to remove the server.
Then the question is no longer needed.