Question

502 Bad Gateway after setting up Meteor on Ubuntu 14.04

Hi all,

I followed this set of instructions to install my Meteor app. https://cloud.digitalocean.com/support/suggestions?query=meteor

However, after starting the app, I still get the 502 Bad Gateway Error.

Upon looking into the Nginx logs, I see this error -

[error] 7969#0: *152 connect() failed (111: Connection refused) while connecting to upstream

Any idea what the problem could be?

Thanks!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi,

Thanks for your help! In the end, I made use of Meteor up package to setup and deploy. It works fine :)

Hi. Are you able to access Meteor on port 8080 (browse to http://your droplet's ip address:8080)? If not, start it and try again:

start todos

If that still doesn’t work, please post the output of the following command:

sudo netstat -plutn