You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/11/06 12:59:18 UTC

[GitHub] [iotdb-client-go] HTHou commented on a diff in pull request #60: Fix CI by changing iotdb listening address from 127.0.0.1 to 0.0.0.0

HTHou commented on code in PR #60:
URL: https://github.com/apache/iotdb-client-go/pull/60#discussion_r1014825639


##########
test/e2e/Dockerfile.iotdb-server:
##########
@@ -20,7 +20,11 @@
 FROM openjdk:11-jre-slim
 
 RUN apt update \
-  && apt install -y procps && apt clean
+  && apt install -y procps && apt clean \
+  && sed -i 's/# enable_influxdb_rpc_service=false/enable_influxdb_rpc_service=true/g' /usr/local/iotdb/conf/iotdb-common.properties \
+  && sed -i 's/dn_rpc_address=127.0.0.1/dn_rpc_address=0.0.0.0/g' /usr/local/iotdb/conf/iotdb-datanode.properties \
+  && sed -i 's/dn_internal_address=127.0.0.1/dn_internal_address=0.0.0.0/g' /usr/local/iotdb/conf/iotdb-datanode.properties \
+  && sed -i 's/cn_internal_address=127.0.0.1/cn_internal_address=0.0.0.0/g' /usr/local/iotdb/conf/iotdb-confignode.properties

Review Comment:
   ```suggestion
     && sed -i 's/dn_rpc_address=127.0.0.1/dn_rpc_address=0.0.0.0/g' /iotdb/conf/iotdb-datanode.properties \
     && sed -i 's/dn_internal_address=127.0.0.1/dn_internal_address=0.0.0.0/g' /iotdb/conf/iotdb-datanode.properties \
     && sed -i 's/cn_internal_address=127.0.0.1/cn_internal_address=0.0.0.0/g' /iotdb/conf/iotdb-confignode.properties \
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org