I built a web app, that runs and listens on port 5000 using .netcore (default app in VS). I created a VM instance on GCP, and allowed http and https traffic in the configuration. I ran the app, and used the exteral ip(which I succeeded to ping) to access it from the browser: http://:5000
But I got no response, this should have opened the site.
I added a firewall rule to allow traffic but still didn't help:
I'm sure many people encountered this, any help?
I have the same opinion as @Iñigo, it could be the firewall.
You can create the rule with the following command:
The output should be something like:
Edit 1
Also you need to open the port in your windows firewall:
At the end you would see the rule like this:
You can consult the following link for more information.