Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, August 3, 2017 4:51 AM
I uploaded a web app(meteor) on ubuntu vm. i created endpoints and even open port associated subnet etc but still getting connection refused. Please advise as I need to connect to my application. It maybe something on your end as i followed every step in your documentation.
All replies (2)
Thursday, August 3, 2017 6:57 AM
I followed the instructions as defined by microsoft at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal. I used telnet to test the ports and both 80 and 8080 are closed. please advise as we need to deploy this application to our remote customers asap.
Thursday, August 3, 2017 10:21 AM
The behavior of the Network Security Group doesn't change depending on being assigned to a subnet or a network interface. A common deployment scenario has the Network Security Group assigned to a subnet to ensure compliance of all VMs attached to that subnet.
For more information, see applying Network Security groups to resources.
A Network security group (NSG) secures inbound and outbound traffic. When a VM is created from the Azure portal, an inbound rule is created on port 22 for SSH connections. Because this VM hosts a webserver, an NSG rule needs to be created for port 80.
- On the virtual machine, click the name of the Resource group.
- Select the network security group. The NSG can be identified using the Type column.
- On the left-hand menu, under settings, click Inbound security rules.
- Click on Add.
- In Name, type http. Make sure Port range is set to 80 and Action is set to Allow.
- Click OK.
Do click on "Mark as Answer" and “Vote as Helpful” on the post that helps you, this can be beneficial to other community members.