I have a VM in Azure that has a public IP and a DNS entry like my-db.westeurope.cloudapp.azure.com. I have another server at another hosting provider and configured the firewall to only allow access from the other ip address.
Now I wanted to create another VM in the same virtual network in Azure and access my-db.westeurope.cloudapp.azure.com (which dns resolved to the public ip address). But the firewall now thinks the access is through the internet and not from the virtual network.
What can I do?