You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2026/02/24 04:12:23 UTC
(iotdb) 01/04: Change default dn rpc address (#17060)
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch rc/2.0.7
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 2f3fcbca98b410aea5ace6edf94e371b95eac9fe
Author: Haonan <hh...@outlook.com>
AuthorDate: Thu Jan 22 14:44:48 2026 +0800
Change default dn rpc address (#17060)
* Change default dn rpc address
* Change default dn rpc address
(cherry picked from commit f198b8e4718357ffa2368bd7ef750902911d4c0b)
---
.../datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +-
.../node-commons/src/assembly/resources/conf/iotdb-system.properties | 2 +-
.../src/assembly/resources/conf/iotdb-system.properties.template | 2 +-
3 files changed, 3 insertions(+), 3 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 2b49ee123d1..df22227b533 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
@@ -123,7 +123,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 b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties
index 3aef3b45355..4015a4b2f3e 100644
--- a/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties
+++ b/iotdb-core/node-commons/src/assembly/resources/conf/iotdb-system.properties
@@ -39,7 +39,7 @@ cn_internal_address=127.0.0.1
cn_internal_port=10710
cn_consensus_port=10720
-dn_rpc_address=0.0.0.0
+dn_rpc_address=127.0.0.1
dn_rpc_port=6667
dn_internal_address=127.0.0.1
dn_internal_port=10730
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 dc48726bc87..5e4f0dea8d5 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