Task 4: Access your web server again

Shafi Khaksar 0 Reputation points
2024-12-11T17:08:20.9466667+00:00
user [ ~ ]$ az network nsg rule list \ --resource-group "learn-72dabc83-31a5-463e-b17a-efe4bd18bb63" \ --nsg-name my-vmNSG \ --query '[].{Name:name, Priority:priority, Port:destinationPortRange, Access:access}' \ --output table Name               Priority    Port    Access -----------------  ----------  ------  -------- default-allow-ssh  1000        22      Allow allow-http         100         80      Allow 

user [ ~ ]$ curl --connect-timeout 5 http://$IPADDRESS curl: (7) Failed to connect to 20.253.245.58 port 80 after 1 ms: Couldn't connect to server user [ ~ ]$ 

Even after a long wait, the final step is not working. I tried every step nicely and double-checked.

I think some actions are needed on your end, or some of the latest updates may caused this not to work. Please help me to pass this step. Thanks.

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,954 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VarunTha 10,925 Reputation points Microsoft Vendor
    2024-12-11T17:25:27.1933333+00:00

    Hi Shafi Khaksar,
    Thank you for reaching out to us on the Microsoft Q&A forum.

    I've provided the Unit 3 repro steps at this link:https://learn.microsoft.com/en-us/answers/questions/2047306/error-when-create-a-linux-virtual-machine-and-inst

    If it has been over an hour since completing the prerequisite in Unit 3 – Exercise: Create an Azure Virtual Machine, your VM may have been automatically removed, causing an error in Task 1, Step 2. To avoid this, ensure the prerequisite of creating a virtual machine in Unit 3 is completed within the hour before proceeding. After completing the Unit 3 exercise, move on to the Unit 9 exercise, restart the Cloud Shell, and follow the steps outlined in the document to ensure smooth functionality.

    We also tested it on our end and obtained positive results, as shown in the screenshots: User's image User's image

    If you have any further questions or need additional assistance, please feel free to reach out. We're here to help!

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.