How to proceed when required output is not obtained while trying to get the IP address for VM ?

Anjali Suresh (MS/ETM-NE3-PS) 0 Reputation points
2023-03-16T06:15:25.14+00:00

For the comment

curl --connect-timeout 5 http://$IPADDRESS

curl: (3) URL using bad/illegal format or missing URL is coming instead of below mentioned , why?

curl: (28) Connection timed out after 5001 milliseconds

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.
732 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 22,556 Reputation points Microsoft Employee
    2023-03-16T17:06:18.71+00:00

    Hello, @Anjali Suresh (MS/ETM-NE3-PS) !

    Where am I seeing this?

    Why am I receiving a curl: (3) URL using bad/illegal format or missing URL error?
    Task 1: Access your web server, step 1 will take the IP address of the VM you created in an earlier lesson (Exercise - Create an Azure Virtual Machine) and store it as a variable. If it's been more than an hour, that sandbox and all related resources will have been removed and the variable won't be created correctly.

    1. Go back to Exercise - Create an Azure Virtual Machine.
    2. Complete the module to create the VM.
    3. Try Exercise - Configure network access again. This time the variable in Task 1, step 1 should be set correctly and you should see the correct response after running curl on step 2.

    If you are still running into this issue after completing the prerequisite, post a comment to let us know and we'll continue to troubleshoot this.

    Complete the prerequisite less than an hour before working on this unit so that your VM isn't automatically deleted

    268259-image.png

    0 comments No comments