AppFabric Cache - An existing connection was forcibly closed by the remote host

后端 未结 3 1567
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-06 07:52

I\'m trying to get AppFabric cache up and running on my local development environment. I have Windows Server AppFabric Beta 2 Refresh installed, and the cache c

3条回答
  •  Happy的楠姐
    2021-02-06 08:35

    Do you get the same problem if you use a DataCacheFactoryConfiguration object? e.g.

    protected CacheService()
    {
        DataCacheFactoryConfiguration config;
        List endpoints;
        DataCacheFactory factory;
        DataCache cache;
    
        endpoints = new List();
        endpoints.Add(new DataCacheServerEndpoint("SN-3TQHQL1",22233));
    
        config = new DataCacheFactoryConfiguration();
        config.Servers = endpoints;
    
        factory = new DataCacheFactory(config);
    
        cache = factory.GetDefaultCache();
        ...
    }
    

    Have you opened the port on your firewall?

    Maybe check entries in your event logs - they may offer clues as to what is (or isn't) happening.

提交回复
热议问题