why i get 502 Bad Gataway error with nginx 1.18.0

Solution
proxy_pass  http://127.0.0.1:9000