Problem with "Exercise - Configure network access"

Jovan Radan 5 Reputation points
2023-04-21T10:55:41.7333333+00:00

Task 1: Access your web server Run the following curl command to download the home page: I should be getting this result curl: (28) Connection timed out after 5001 milliseconds But I keep getting: curl: (28) Failed to connect to 20.237.144.244 port 80 after 5001 ms: Timeout was reached Different answer, but very similar and I could continue without problem Then in Task 2: List the current network security group rules Run the following az network nsg list command to list the network security groups that are associated with your VM: Azure CLI az network nsg list \ --resource-group learn-6a81febd-eb69-4ce7-9ebf-d2c36850d1a4 \ --query '[].name' \ --output tsv You see this: my-vmNSG But instead I get the result: my-VM-nsg But this is just a differnet name so it should be a problem BUT when i try the next step: Run the following az network nsg rule list command to list the rules associated with the NSG named my-vmNSG: Azure CLI az network nsg rule list \ --resource-group learn-6a81febd-eb69-4ce7-9ebf-d2c36850d1a4 \ --nsg-name my-vmNSG I make sure to change the "--nsg-name" to my-VM-nsg
(I've even tried with the one provided and differnet ways of writing the name, but still to no avail) and I keep getting an error or empty square brackets and i don't know what else to try? so if anyone can help , it will be very helpful Thank you

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,701 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,341 Reputation points Microsoft Employee
    2023-04-21T20:43:38.8333333+00:00

    Hello, @Jovan Radan !

    It looks like the name of your VM was slightly off. I'll run through the exercise and point out where I think the typo may have happened.

    Where am I seeing this?

    How do I successfully complete Unit 9 of 14: Exercise - Configure network access?

    There are two parts to this, both of which need to be completed within an hour before resources are automatically cleaned up and removed.

    The first part is Unit 3 of 14: Exercise - Create an Azure Virtual Machine, where you will create the VM that will be used later. The name of your VM here is important because your Network Security Group (NSG) will be named based on the VM name you provide, and there are several steps later on that will require the correct name for both your VM and your NSG. It looks like your VM name was my-VM- rather than my-VM, which caused a cascading series of errors.

    User's image

    When you reach the second part, Unit 9 of 14: Exercise - Configure network access, the IPADDRESS is expecting my-vm and it's unclear if the NSG in question is associated with the VM that is expected (a full printout of your exercise would help troubleshoot this further).

    User's image

    I hope this is helpful!

    1 person found this answer helpful.
    0 comments No comments

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.