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

The application can not send http-request being on a virtual machine.

$
0
0

Hello, I have console application, which process data, and send report to Web API controller of my site. But the data do not reach the controller. Watching visual studio debugger for the controller, I see that he has not even called. But the application being launched on my local PC, regularly sends data to the controller.

Im using HttpClient class, here is string which send data to server:

Client.PostAsJsonAsync("http://[site].azurewebsites.net/api/Decision", report);

VM OS - Windows  Server 2012.

What could be theproblem?




Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>