Listening on different ip address does not work
Thu, 05/24/2012 - 11:51
Hey guys,
I am trying to make couchbase listen to a specific ip address. I followed the instructions on http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractic... but this does not work. Any other documentation or hints on that topic?
thanks!
Stefan
Has anyone an idea? I cant get it to work.
More infos:
- current couchbase 1.8
- debian linux
This is my couchbase-server line:
exec erl \
+A 16 \
-setcookie nocookie \
-kernel inet_dist_listen_min 21100 inet_dist_listen_max 21299 \
$* \
-run ns_bootstrap -- \
-ns_server config_path "\"/opt/couchbase/etc/couchbase/static_config\"" \
-ns_server pidfile "\"/opt/couchbase/var/lib/couchbase/couchbase-server.pid\"" \
-name ns_1@127.0.0.1
This is the "netstat -lpn" output (after some cleanup):
tcp 0 0 0.0.0.0:11210 0.0.0.0:* LISTEN 2733/memcached
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN 2952/moxi
tcp 0 0 0.0.0.0:21100 0.0.0.0:* LISTEN 2920/beam.smp
tcp 0 0 0.0.0.0:4369 0.0.0.0:* LISTEN 28763/epmd
tcp 0 0 0.0.0.0:8091 0.0.0.0:* LISTEN 2920/beam.smp
tcp 0 0 0.0.0.0:54112 0.0.0.0:* LISTEN 2952/moxi
tcp6 0 0 :::11210 :::* LISTEN 2733/memcached
tcp6 0 0 :::11211 :::* LISTEN 2952/moxi
tcp6 0 0 :::51728 :::* LISTEN 2952/moxi
udp 0 0 0.0.0.0:11210 0.0.0.0:* 2733/memcached
udp6 0 0 :::11210 :::* 2733/memcached