Unable to reach another web app hosted on Azure

Copper Contributor

I have a web app deployed on Azure (linux) that needs to access another web app, which is also deployed on Azure.

 

Since this morning, this app has lost the ability to do this. It's able to access outside domains, but it's not reaching the one that's deployed inside Azure.

 

The following fails (inside)

 

 

curl https://my-web-api.azurewebsites.net/api/version

 

 

But this works (outside)

 

 

 

 

curl https://jsonplaceholder.typicode.com/todos/1
{
  "userId": 1,
  "id": 1,
  "title": "delectus aut autem",
  "completed": false
}

 

 

The DNS seems to resolve, but for some reason isn't reachable

 

 

ping apis.fonixtelematics.com
PING waws-prod-xxxx.northeurope.cloudapp.azure.com (n.n.n.n) 56(84) bytes of data.

 

UPDATE: 14:10

One interesting detail... If I try to do the curl with HTTP instead of HTTPS it "works". It's worth saying that the HTTPS endpoint is working fine for outside requests to the other app. But from this machine, for some reason, it doesn't work.

 

2 Replies

@goncalo-oliveira 

 

Any network components in between such as LB, AG?

Check the NSG Rules for any ip restrictions