Uploaded successfully to Heroku Local but getting 503 error once pushed to Heroku live

Once you have created a new heroku app with heroku create then ensure you have added a database and configured your Mean app with the settings defined on mean.io To add a MongoDB database to your Heroku app with: heroku addons:create mongolab:sandbox Add the Mongodb string to the production env in server/config/env/production.js. You can find this string using … Read more

How to stop Node.js server?

I’ve just setup MEAN stack on my DigitalOcean server. I got the test app to run fine, but now when I open command line from DigitalOcean it just shows info: GET /modules/etc… and the part where I type is blank. How do I stop the server and get it back to where it was originally … Read more

MongoError: failed to connect to server [localhost:27017] on first connect

Update 2020 Feb 24: It would be wise to stay tuned with it. Here is the link for latest library instruction: https://docs.mongodb.com/manual/administration/install-community/ You haven’t started your monogo database. first install mongo install mongo as per your OS https://docs.mongodb.com/v3.0/tutorial/ then follow instructions mentioned on this site: https://docs.mongodb.com/v3.0/tutorial/getting-started-with-the-mongo-shell/ cd . mongod –dbpath “any directory path to start your database … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)