This question already has an answer here:
I have created vm instance in gcloud. And setup firewall rule to allow connection from port 5000.I added network tag to my vm instance.
But if i test the connection by teneting to port 5000 I get
telnet: Unable to connect to remote host: Connection refused
Content of netstat -lnp