When previewing the running node or nodemon server with either the 8080 /8081 ports i get only a timeout. Do i need to open the ports anywhere else in order for the preview to work?
Lab directions worked well for me. No port have to be opened or changed for node.js app.
Make sure to click "Web Preview" on top right corner of Cloud Shell and not call the localhost URL (127.0.0.1) direct from browser.