I have been developing a proof of concept application using ASP.Net MVC and .Net 4.5, connecting to DocumentDB on Microsoft Azure. Although, I am able to connect to my DocumentDB database through the unit tests to read and write data, I am not being able to do the same through my ASP.Net MVC application. I am consistently getting a message "No connection could be made because the target machine actively refused it...". It is worth mentioning that this application is being run in a corporate network.
Can anyone point me in the right direction please? It seems I am missing something obvious here.