Exercise: Resolve issue connecting virtual machine scale set
After investigating the connection issues to your website, you've found an issue with the load balancer rule user by the virtual machine scale set.
In this exercise, you'll resolve the issue and check that the website can now be accessed.
Validate load balancer rules
In the Azure portal, search for load balancers, and then under Services, select Load balancers.
Select the webLoadBalancer load balancer.
Under Settings, select Load balancing rules.
From the list of rules, select webLoadBalancerRule.
To resolve the backend issue, change the Backend port from 443 to 80, and then select Save.
Note
The front and backend in this environment need to be the same to get a response from the webserver to http requests.
Wait until the rule has been deployed successfully.
Verify that the website can now be reached
Refresh the tab you opened to test the public IP address.
Note
If you have closed the previous browser tab, run this command to get the public IP address:
az network public-ip show \ --resource-group <rgn>[sandbox resource group name]</rgn> \ --name webPublicIP \ --query '[ipAddress]' \ --output tsv
If the website is online, you'll see a page with a Hello World message from the backend instance.