Remote connection to Neo4j server

前端 未结 6 1483
我寻月下人不归
我寻月下人不归 2021-02-13 01:09

I believe the way to creating a remote connection is by changing this line in conf/neo4j-server.properties, specifically by removing the comment and restarting the

6条回答
  •  耶瑟儿~
    2021-02-13 01:26

    By setting

    org.neo4j.server.webserver.address=0.0.0.0
    

    enables Neo4j on all network interfaces.

    The remainder of that reply is not Neo4j related at all - it's regular networking. Double check if port 7473 (and/or 7474) are not blocked neither be a locally running firewall nor by your router. You local IP 192.168.0.14 indicates you're behind a router doing NAT. Therefore you have to setup a port forwarding in your router for the ports mentioned above.

    Please be aware that this is potentially dangerous since everyone knowing your external IP can access your Neo4j instance. Consider using either https://github.com/neo4j-contrib/authentication-extension or use a VPN in favour of port forwarding.

提交回复
热议问题