1
votes

I have established ssh connection. Following that, I have run my node.js application by node app.js on port 3000. It showed console output app is running http://0.0.0.0:3000 port same as my local environment. But when I opened http://external_ip:3000 it is not loading anything. How do I have to run my node app on external ip address

1

1 Answers

2
votes

First of all you must have to reserve a static external IP for your VM. If you want to check whether your project is running or not open this following link.

https://[PROJECT-ID].appspot.com

Here is the guide for assigning a static external IP to a VM. https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address