O'Reilly logo
  • Aaron Staker thinks this is interesting:

Listing 2-1 is the default Node web server that’s often shown in examples of Node. The aforementioned code snippet will respond with “Hello World” any time you make a request to http://127.0.0.1:1337. You can verify this using either a web browser or the curl command in a terminal window.

From

Cover of Full Stack JavaScript Development With MEAN

Note

To actually get this thing to work type in "node app.js" in your terminal. Not sure why this is not clear in the instructions.