You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2026/01/22 02:49:47 UTC

(iotdb) branch chanage_dn_rpc_address created (now 34c89fd7ee7)

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a change to branch chanage_dn_rpc_address
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 34c89fd7ee7 Change default dn rpc address

This branch includes the following new commits:

     new 34c89fd7ee7 Change default dn rpc address

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iotdb) 01/01: Change default dn rpc address

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch chanage_dn_rpc_address
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 34c89fd7ee799d54d682ca50a05816d50ce18ad0
Author: HTHou <ha...@apache.org>
AuthorDate: Thu Jan 22 10:49:32 2026 +0800

    Change default dn rpc address
---
 .../datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java    | 2 +-
 .../src/assembly/resources/conf/iotdb-system.properties.template        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index c78ae21c066..98c15a2d9bf 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -125,7 +125,7 @@ public class IoTDBConfig {
   private int mqttMaxMessageSize = 1048576;
 
   /** Rpc binding address. */
-  private String rpcAddress = "0.0.0.0";
+  private String rpcAddress = "127.0.0.1";
 
   /** whether to use thrift compression. */
   private boolean rpcThriftCompressionEnable = false;
diff --git a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
index c3b03040e8f..f4ebae2fb80 100644
--- a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
+++ b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties.template
@@ -73,7 +73,7 @@ cn_consensus_port=10720
 # Could set 127.0.0.1(for local test) or ipv4 address
 # effectiveMode: restart
 # Datatype: String
-dn_rpc_address=0.0.0.0
+dn_rpc_address=127.0.0.1
 
 # Used for connection of IoTDB native clients(Session)
 # Bind with dn_rpc_address