Could not connect to 11210
I got an error System.TimeoutException: Could not connect to 192.168.0.175:11210
The IP is localhost. Membase Console is http://localhost:8091/
OS is Windows XP 32bit.
Thanks for help
Here's my configration file
<servers bucket="default" bucketPassword="" userName="Administrator" password="password" retryCount="2" retryTimeout="00:00:02">
<!--
Provide at least 2-3 urls from your cluster.
Usually you only need to change the host, except when connecting to older versions.
Membase uses port 8091, while the NorthScale Memcached Server (1.0.3) uses 8080
-->
<add uri="http://localhost:8091/pools/default"/>
<add uri="http://192.168.0.10:8091/pools/default"/>
</servers>
<!-- the client waits deadTmimeout time to reconnect to the pool when all the specified urls are down -->
<socketPool connectionTimeout="00:00:10" deadTimeout="00:00:10" />
</membase>
ERROR Message is like
2011-01-25 18:07:06,771 [9] INFO Membase.MembasePool Received new configuration.
2011-01-25 18:07:06,771 [9] INFO Membase.MembasePool Has vbucket. Server count: 2
2011-01-25 18:07:07,708 [9] ERROR Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl Could not init pool.
System.TimeoutException: Could not connect to 192.168.0.175:11210
at Enyim.Caching.Memcached.PooledSocket..ctor(IPEndPoint endpoint, TimeSpan connectionTimeout, TimeSpan receiveTimeout) in d:\EnyimMemcached\Enyim.Caching\Memcached\PooledSocket.cs:line 49
at Enyim.Caching.Memcached.MemcachedNode.CreateSocket() in d:\EnyimMemcached\Enyim.Caching\Memcached\MemcachedNode.cs:line 461
at Enyim.Caching.Memcached.Protocol.Binary.BinaryNode.CreateSocket() in d:\EnyimMemcached\Enyim.Caching\Memcached\Protocol\Binary\BinaryNode.cs:line 33
at Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.CreateSocket() in d:\EnyimMemcached\Enyim.Caching\Memcached\MemcachedNode.cs:line 243
at Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.InitPool() in d:\EnyimMemcached\Enyim.Caching\Memcached\MemcachedNode.cs:line 221
2011-01-25 18:07:07,708 [9] WARN Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl Marking node 192.168.0.175:11210 as dead
Thanks Perry
I have 2 nodes: 192.168.0.10 and 192.168.0.175 (localhost)
Yes, it's no problem to connect to 0.10, but failed on 0.175
I did re-installation on 0.10 and created a new cluster, then tested against 0.10 and everything is fine!
0.10 (Windows Server 2003) firewall was not enabled.
0.175 is enabled but I have added ports 8091, 11211, 11210 as exceptions. Telnet to 11211 is fine, but always failed on 11210. I also scanned my PC with nmap and cannot find anything using the port. Don't know how to debug that. How do I know the authentication/security settings of 11210?
Many thanks
Glad you were able to make progress!
I don't quite understand your last question though. Port 11210 is our "direct-data" port and must be accessible by all Membase nodes as well as any "smart clients" (including Moxi).
Does that make sense?
Perry
yes, it makes sense. thanks.
Is there a way to use other port instead of 11210? I mean 11210 doesn't like me...
I see. There's no "easy" way to use a port other than 11210. It would require compiling the code from source...
Can you paste the output of 'netstat -anb' when run as Administrator on that server?
Perry
Would it also be possible to temporarily disable the Windows firewall to make sure it's not still causing issues?
Also, is it possible that your IP address has changed since you installed Membase on that machine? The current software writes the IP address into the configuration, and if that changes, it will be unable to function properly. Can you check that this machine still has the IP address: 192.168.0.175?
Thanks Perry!
Disable firewall is not an option, it's locked by company Network. Please don't bother with my issue. I have set up a virtual machine to use membase and everything is fine! It's good to know "netstat -anb", will use it next time.
Cheers
Hi there, sorry you're running into trouble.
Looks like there are some connectivity or authentication issues at work here.
How many nodes do you have in your cluster? Is 192.168.0.10 another node in the cluster? If so, can you telnet from this machine to 192.168.0.10 on port 11210?
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!