Report this

What is the reason for this report?

502 Bad Gateway after setting up Meteor on Ubuntu 14.04

Posted on August 31, 2015

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!



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.