Forever start app.js does not work.

Asked 2 years ago, Updated 2 years ago, 50 views

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?

node.js aws

2022-09-22 22:01

1 Answers

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


2022-09-22 22:01

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.