我得到了很多错误,像No connection could be made because the target machine actively refused it 70.37.127.112:443
所以,我想补充Microsoft.Practices.TransientFaultHandling
重试。
但尽管如此,许多错误的(即使重试后)
我想知道:
第一,由于Azure是一个分布式服务,为何我总是达到70.37.127.112(I通过访问存储简单原始DefaultEndpointsProtocol=https;AccountName=storage_account;.....,
然后使用tableContext.CreateQuery<datatype>("table_name");
)。 我发现我的所有表(即使是在不同的存储账户)全部命中70.37.127.112。 我的问题,是有没有办法改变它?
2,如何消除上述完全错误?
错误详情
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 70.37.127.112:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at System.Data.Services.Client.QueryResult.Execute()
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
at System.Data.Services.Client.DataServiceQuery`1.Execute()
at System.Data.Services.Client.DataServiceQuery`1.GetEnumerator()
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Microsoft.Practices.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()
at Microsoft.Practices.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)