Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Trouble connecting to a simple C++ echoserver.

$
0
0

Hi,

I'm very new to Azure, I've picked up the free trial and I have a VM with one core running. I've created simple C++ echo server and client executables which I've uploaded and it works when I run them both using 127.0.0.1 to bind and connect to. It's just when I use INADDR_ANY to bind to instead of localhost I can't connect to the client from my outside Azure machine, I'm using the public IP address shown and I set up an endpoint where the public and private ports are both 5555, I've been searching for ages but I just can't find anything that will help. I really need to be able to run a simple c++ server application and connect to it. 

I'm not quite sure on workers roles etc but I had it in my mind as Im on a VM I don't need to bother with them and if I did does that mean I can't use non .Net plain C++.

Any help appreciated

Thanks.


Viewing all articles
Browse latest Browse all 12545

Trending Articles