Node.js Error: connect ECONNREFUSED

后端 未结 12 1189
小鲜肉
小鲜肉 2020-12-02 16:39

I am new to node and running into this error on a simple tutorial.

I am on the OS X 10.8.2 trying this from CodeRunner and the Terminal. I have also tried putting my

12条回答
  •  情书的邮戳
    2020-12-02 17:11

    I was having the same issue with ghost and heroku.

    heroku config:set NODE_ENV=production 
    

    solved it!

    Check your config and env that the server is running on.

提交回复
热议问题