Using cognitive services from an azure VM doesn't transfer any traffic.

John Benson 1 Reputation point
2025-02-18T07:08:07.0966667+00:00

Traffic from an azure Windows VM doesn't appear to be hitting the azure cognitive services. All in the same region.
Using wireshark within the VM shows a lot of TCP retransmissions and the cognitive services show 0 http requests during the attempt so traffic isn't getting there.
Using an onprem VM using the same cognitive service and config works fine.

Tried the usual firewall disabling, NSG changes etc to make sure theres nothing blocking it configuration wise.

Packet capture via network watcher doesn't seem to work anymore..last time I used it with this VM was mid 2024 and now it doesn't save/start any packet captures so now looking to see if anyone has any ideas on why an azure vm can't send traffic to an azure service. Or if theres an alternate way of seeing what azure is doing with the traffic being sent from the VM.

(testing with the network watcher/packet capture is still ongoing to find out why it doesn't start)

If anyones got any ideas/things to try - would be much appreciated..

Thanks.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,469 questions
Azure Network Watcher
Azure Network Watcher
An Azure service that is used to monitor, diagnose, and gain insights into network performance and health.
182 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,207 questions
{count} votes

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.