I have an Azure VM running Windows server. There is a job running on this server that fetches data from an external web service on port 80. This job has suddenly stopped working after a reboot (I know this is vague...).
The provider of the webservice says that as long as we can telnet their service on port 80 everything should work fine. The problem is that I cannot telnet their service on port 80 from the VM. I can access it via web (http and https), but not telnet to port 80 or 443.
When trying to telnet it says "Connecting To the.webservice.com for a minute or two, and aborts with "Could not open connection to the host, on port 80: Connect failed"
I can telnet other external services on port 80 from this VM, I can telnet this service on port 80 from any other computer outside of Azure, AND from a nginx proxy in the same Azure resource group as the Windows VM.
So, telnet to the external service in question on port 80 from a proxy server within the same RG, and from any computer outside Azure works fine. Telnet other web services on port 80 from the Windows VM works fine. Accessing the service in question via web (http and https) works fine from the Windows VM.
There are no outbound NSG rules blocking port 80 from the Windows VM. I have tried turning Windows firewall off on the Windows VM just in case this was acting up, this didn't have any effect on this issue.
So I find this kind of strange. As long as I can browse the address with http and https, telnet to port 80 and 443 should work, shouldn't it?
Appreciate all help :)