我在使用Windows Azure缓存预览时遇到了一些麻烦。Windows Azure缓存预览
我在这里添加NuGet包:http://nuget.org/packages/Microsoft.WindowsAzure.Caching并已配置我的存储上windowsazure.com的ASP.NET会话状态按照信息的作用
问题是,我得到No connection could be made because the target machine actively refused it 127.255.0.0:20004
调试时。 Azure使用的dev IP是12.7.0.0.1:81
我不知道为什么,即使是样本Windows Azure Caching (Preview) Session State and Output Caching Sample
也完全一样。
更新:从错误日志:
w3wp.exe Error: 0 : ERROR: <SimpleSendReceiveModule> b4551065-941b-4bdb-9487-57d9207af308:Request - 1, result - Status=ChannelOpenFailed[System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 127.255.0.0:20004
at Microsoft.ApplicationServer.Caching.AsyncResultNoResult.EndInvoke()
at Microsoft.ApplicationServer.Caching.TcpClientChannel.ConnectionCallback(IAsyncResult result)] for end point [net.tcp://127.255.0.0:20004]
此外,更多的测试表明它是不会话状态存储,但所有的缓存相关的任务。
我有一个类似的问题,在我的情况下,我通过更改区域设置解决了这个问题 - 更多详细信息[this SO answer](http://stackoverflow.com/a/15407741/753737) 。 – edymtt 2013-05-03 17:41:00