Testing on Amazon Web Server. Usually, if you look at the forever example, you run app.js, but once you try it, the process is working, but when you try to access it yourself, it doesn't respond.
forever start bin/www
is not a problem, but why can't forever start app.js
be used?
If you created a project with express generator, you can only use bin/www
If you look at the app.js and www code, the execution part is in www
I don't remember well, but there is probably a development environment setting in app.js
© 2024 OneMinuteCode. All rights reserved.