I am working on a POC for using AppFabric for cahing the object in the clustered environment. At this point I am not even trying to run it server. I am trying just in local machine by setting cluster server at my local machine. I have used the following code to create the instance of the Cache.
var servers = new List<DataCacheServerEndpoint>
{
new DataCacheServerEndpoint(Environment.MachineName, 22233)
};
var factoryConfig = new DataCacheFactoryConfiguration {Servers = servers};
var dataCacheFactory = new DataCacheFactory(factoryConfig);
DataCacheInstance = dataCacheFactory.GetCache("CacheBucketName");
But, it is throwing below error.
"ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.)"
Any suggestion?