summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ctdb/include/ctdb_private.h2
-rw-r--r--ctdb/web/configuring.html2
-rw-r--r--ctdb/web/testing.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 01aa629afa..8108ccd516 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -29,7 +29,7 @@
#define CTDB_PATH "/tmp/ctdb.socket"
/* default ctdb port number */
-#define CTDB_PORT 9001
+#define CTDB_PORT 4379
/* we must align packets to ensure ctdb works on all architectures (eg. sparc) */
#define CTDB_DS_ALIGNMENT 8
diff --git a/ctdb/web/configuring.html b/ctdb/web/configuring.html
index 7005900027..219edac19b 100644
--- a/ctdb/web/configuring.html
+++ b/ctdb/web/configuring.html
@@ -178,7 +178,7 @@ be aware of the HA features of CTDB.
<h2>TCP port to use for CTDB</h2>
-CTDB defaults to use TCP port 9001 for its traffic.<p>
+CTDB defaults to use TCP port 4379 for its traffic.<p>
Configuring a different port to use for CTDB traffic is done by adding
a ctdb entry to the /etc/services file.<p>
diff --git a/ctdb/web/testing.html b/ctdb/web/testing.html
index 130b9bbb94..d0d39a35f8 100644
--- a/ctdb/web/testing.html
+++ b/ctdb/web/testing.html
@@ -19,9 +19,9 @@ Once all CTDB nodes have started, verify that they are correctly
talking to each other.<p>
There should be one TCP connection from the private ip address on each
-node to TCP port 9001 on each of the other nodes in the cluster.
+node to TCP port 4379 on each of the other nodes in the cluster.
<pre>
- onnode all netstat -tn | grep 9001
+ onnode all netstat -tn | grep 4379
</pre>