我在安装了 Service Pack 1 的 Windows Server 2008 R2 上安装了 Cachebase Server,默认设置。
现在,我正在尝试测试服务器,但无法正常工作。这就是我所拥有的:
class Program
{
    static void Main(string[] args)
    {
        var config = new CouchbaseClientConfiguration();
        config.Urls.Add(new Uri("http://192.168.1.4:8091/pools/default"));
        config.Bucket = "default";
        var client = new CouchbaseClient(config);
        // this line of code takes about 10-15 seconds to execute, and always returns false
        bool result = client.Store(StoreMode.Set, "key_10", "value to save", TimeSpan.FromMinutes(5));
        // this line of code always returns null
        var savedValue = client.Get("key_10");
    }
}
我做错了什么?我认为它与防火墙没有任何关系,因为当我在浏览器中访问 url 时,它会返回一个 Json 对象。