Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Why does node.js backend server not respond port 3000 for downloaded sample code?

Not applicable

When writing the code from scratch (from ZeroToApp eLearning Exercise) I have had some minimal issues in getting things to work (typos and the like) but later, when the instructor (Greg) advises to download sample app and change organization name to match, I do this. Greg then types in the URL something like this: localhost:3000 and does a refresh. This causes the sample app to reload. When I do this however, the server does not respond. I am forced to open the file index.html from the directory and then get the obvious message "unable to determine your geoLocation" . All of my samples worked through the geoLocation exercise and after this, I have had problems with running the sample code as mentioned above. Any advice for such a basic (hopefully easy ) question?

0 2 7,372
2 REPLIES 2