How to access webserver in AZ-900 training

oluKayode 15 Reputation points
2023-08-26T06:14:17.9933333+00:00

Hello,

I am new to IT and taking the Azure fundamentals.

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

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

What's the problem?

Azure | Azure Training
{count} votes

1 answer

Sort by: Most helpful
  1. AirGordon 7,150 Reputation points
    2023-08-26T06:50:00.76+00:00

    You could have a Network Security Group preventing inbound traffic on port 80, or the Virtual Machine itself could have a configuration issue where it's not listening on that port.


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.