Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Cloudshell web preview 400 error

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?

Som

do you see any useful info in the developer tools ? Are you running incognito ?

Puneet Vats

I am also getting error – Invalid App Url for puneet.vats@gmail.com… i tried in both normal and incognito mode but same error.

2 Answers

when you run nodemon, please click(server running) at http://127.0.0.1:8080/ or http://127.0.0.1:8081 and check the results.

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?