Details
Description
I've written a test application that just connects to a Couchbase server, and reads one record. I've tested this app on other machines and it works, however I can't connect to any Couchbase server (local or remote) from my local machine. Every time, I get a System.Net.WebException when it times out.
Firewall is turned off
There are no HTTP debugging applications running
I can connect to the server via a web browser
Using a CouchbaseCluster connection works
Attached is my solution, and the log is in the /bin/debug folder.
Does the "test-bucket" exist? Once I changed the source to this it worked for me locally:
var conn = new CouchbaseClientConfiguration();
conn.Urls.Add(new Uri("http://127.0.0.1:8091/pools/"));
conn.Bucket = "default";
conn.HttpRequestTimeout = new TimeSpan(0, 1, 0);
If does exist, then it's probably something that's blocking the streaming http connection from establishing. I usually see this with Fiddler/Charles on startup, but once the client has established it's connection you can run the http debugger with no problems. Is there something else that's possibly blocking the connection?