I am new to web socket development and I have a .Net Core custom web socket app running on an VM. I can run the app locally in the VM and connect using a simple JS client. I need the app to be accessible to our other apps using the VM public IP address. I have setup the Vnet and related subnets, when I run the Connection Troubleshoot on the vm, it says network connectivity allowed for the custom port 8085 (inbound and outbound). In the VM, I am running IIS and I have tried turning off the W3SVC service, I have setup firewall rules (inbound and outbound) for the Public network. TCP protocol, local port ANY, remote port ANY. No mater what I try, I get the following "Error: connect ETIMEDOUT [IP]:8085" when using Postman. If I temporarily disable the Firewall on the Public Network inside the VM, it comes back quickly with the following error "Unexpected server response: 400". My app logs connection attempts and all exceptions so if it was coming from the app I would have seen the exception thrown. I should also mention I'm using the System.Net.Httplistener class but it does work when I use my simple javascript from inside the VM. What else can I check to make this work?