502 Bad Gateway nginx/1.10.3 (Ubuntu)

I am using postal as my SMTP for my email marketing campaign. I am currently using Putty open-source terminal emulator and winSCP basic file manager and file synchronization to put my project together.

I am unable to open my IP address I have set up for postal. I have asked my current VPS provider to diagnose what the issue may be. This is what I was told.

The issue is the following:

2020/10/13 21:53:15 [error] 24654#24654: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 178.238.239.246, server: postal.yourdomain.com, request: "GET / HTTP/1.1", upstream: "", host: "postal.cheerorganics.co"

This basically means that you have set Nginx as a reverse proxy to some service that listens on port 5000, however when seeing what services listen on what port (for instance with the netstat -punta command), there is no service that listens on that port.

PLEASE HELP!!! FYI I am a newbie to this world.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like