If your application is running on a network with a proxy server then you may need the following added to your application config file
section for the API to be able to connect to the servers:
<!-- Enable the system default proxy server if there is one. -->
<system.net>
<defaultProxy enabled="true">
<proxy usesystemdefault="True" />
</defaultProxy>
</system.net>