I have an Azure VM running Windows Server 2012 R2.
I am trying to run a c# console application that utilizes TcpListener for websocket communication at port 8080. When I run my application locally it works fine. I get the initial GET request from the client and I can do the handshake and start sending data.
I copied over the .exe file for the console application to my server. However when I run the application in the server it doesn't work. I have defined the Inbound Firewall Rule for port 8080 on my Azure as well as on my server. When the console application is running on the server, I get the request from the client but it is not the initial GET request. Its gibberish (I don't know how else to explain that).
I have also installed WebSocket Protocol from the server manager.