30 thoughts on “Running a Node.js Server Forever

  1. awesome video. very helpful. I keep getting this error message though (node:32342) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 disconnect listeners added. Use emitter.setMaxListeners() to increase limit

  2. So when it runs while under 'digital ocean' is it 'considered' up and running and you are being billed for that up-time ?? As a hobbyist would this be the right way to go ?

  3. Very sleek… I would like to know if the same startup script (bash or something) can be done for windows os? I am referring to the forever starting after the system boot.

  4. It's 2018 Anyone here to help me? I am not able to type anything below I'm listening on port 8080 second thing if I run localhost/8080/index.html it gives me nothing it says This site can't be loaded or in firefox it says unable to connect… I rechecked code it's fine… what is the problem I am facing? I also tried different ports but no output in browser

  5. You should use const for http and server and instead of declaring const a second time replace the semicolon in the first line with a comma and don't declare the type of variable the second time.
    const http=require('http'),

Leave a Reply

Your email address will not be published. Required fields are marked *