graphfoundation / ongdb

ONgDB is an independent fork of Neo4j® Enterprise Edition version 3.4.0.rc02 licensed under AGPLv3 and/or Community Edition licensed under GPLv3
https://www.graphfoundation.org/projects/ongdb/
380 stars 57 forks source link

ONgDB not listening on 0.0.0.0:5000 #81

Open rzajac opened 2 years ago

rzajac commented 2 years ago

I noticed that when I set the config option causal_clustering.discovery_listen_address=0.0.0.0:5000 or causal_clustering.discovery_listen_address=:5000 it actually listens on 127.0.0.1:5000.

ONgDB Version: 1.0.0 Operating System: Ubuntu 20.04.3 LTS API: openjdk version "1.8.0_292"

Steps to reproduce

set causal_clustering.discovery_listen_address=0.0.0.0:5000 or causal_clustering.discovery_listen_address=:5000

run ongdb

Expected behavior

listen on 0.0.0.0:5000/tcp

Actual behavior

grep 5000 conf/ongdb.conf
causal_clustering.initial_discovery_members=localhost:5000,localhost:5001,localhost:5002
causal_clustering.discovery_listen_address=:5000

netstat -tpln | grep 5000
tcp6       0      0 127.0.0.1:5000          :::*                    LISTEN      3995227/java (edited)