Are you familiar with this error? curl: (7) Failed to connect to 20.245.141.5 port 80 after 2 ms: Couldn't connect to server

Matt Steele 30 Reputation points
2023-11-15T21:26:34.2666667+00:00

Hello,

I am new to Azure and am studying Azure Fundamentals.

I keep encountering this error during the exercise : curl --connect-timeout 5 http://$IPADDRESS

curl: (7) Failed to connect to 20.245.141.5 port 80 after 2 ms: Couldn't connect to server

What's the problem?

Azure | Azure Training
0 comments No comments
{count} votes

Accepted answer
  1. VarunTha 14,850 Reputation points Microsoft External Staff Moderator
    2023-11-16T05:19:57.9+00:00

    Hi Matt Steele,

    Thank you for reaching out to Microsoft Q & A forum. 

    Where am I seeing this?

    Subject: AZ-900/Azure Fundamentals
    Learning Path: Describe Azure architecture and services
    Module: Describe Azure compute and networking services
    Unit: 9 - Exercise - Configure network access
    Why am I receiving a curl: (7) Failed to connect to 20.245.141.5 port 80 after 2 ms: Couldn't connect to server?

    In case it has been over an hour since you finished the prerequisite, specifically Unit 3 - Exercise - Create an Azure Virtual Machine, your VM will have been automatically removed, leading to an error in Task 1, Step 2. Ensure you fulfill the prerequisite to establish a virtual machine in Unit 3 before commencing this unit, making sure it's completed within the hour timeframe.

    If the issue persists even after meeting the prerequisite, kindly leave a comment to inform us, and we'll proceed with troubleshooting.

    Make sure to fulfill the prerequisite within an hour before tackling this unit to prevent the automatic deletion of your VM.

    User's image

    User's image

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

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.