From 53913723d3641d8cca1ff786618c5ef6c81fe343 Mon Sep 17 00:00:00 2001 From: Thespica Date: Thu, 1 Aug 2024 17:20:58 +0800 Subject: [PATCH 1/2] refine rest-server documentation --- .../src/assembly/static/conf/rest-server.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties b/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties index b67905fc19..319551e5b9 100644 --- a/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties +++ b/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties @@ -1,4 +1,6 @@ # bind url +# http://0.0.0.0:8080 to listen all network interfaces, but need to take care of security +# or listen to specific IP with port restserver.url=http://127.0.0.1:8080 # gremlin server url, need to be consistent with host and port in gremlin-server.yaml #gremlinserver.url=http://127.0.0.1:8182 From c67d822836bbc1012da31293096b2da22a28d79f Mon Sep 17 00:00:00 2001 From: John Date: Fri, 2 Aug 2024 15:07:06 +0800 Subject: [PATCH 2/2] Update rest-server.properties --- .../src/assembly/static/conf/rest-server.properties | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties b/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties index 319551e5b9..507867380c 100644 --- a/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties +++ b/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties @@ -1,6 +1,5 @@ # bind url -# http://0.0.0.0:8080 to listen all network interfaces, but need to take care of security -# or listen to specific IP with port +# could use '0.0.0.0' or specified (real)IP to expose external network access restserver.url=http://127.0.0.1:8080 # gremlin server url, need to be consistent with host and port in gremlin-server.yaml #gremlinserver.url=http://127.0.0.1:8182