0

I am running a NodeJS app on port 5000 on an Ubuntu 18.04 VM on Azure and I need external access to that app. I created the inbound and outbound rules and double checked the settings based on this guide https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal but so far I am unable to access the app using my public ip and port.

enter image description here

Is there anything else I should look for? Most guides I found suggest adding outbound and inbound rules. I also checked the firewall in Ubuntu it's disabled by default.

Found this post as well (Azure Network Security Group - Inbound - Ports Not working).
Running netstat -ant|grep 5000shows this:

enter image description here

Any ideas?

1 Answers1

0

Those rules are on the Network security group (NSG). Make sure that the NSG is attached to either the subnet or the nic (or both).

Also, make sure that you have the ports open on the operating system as well.