How to open Neo4J Webadmin to remote control?

坚强是说给别人听的谎言 提交于 2019-12-09 02:49:15

问题


I have installed a Neo4J instance on my server on port 7474. My domain is also using that server and I want webadmin to be used remotely with a username and a password like this:

example.com:7474

Is there a way to do that? I could not find any guideline in the Neo4J documentation.


回答1:


Did you get a chance to go through Neo4j Server Configuration documentation? It says:

#allow any client to connect

org.neo4j.server.webserver.address=0.0.0.0

This line in conf/neo4j-server.properties is commented by default and limits access to port 7474 to localhost or 127.0.0.1 (which probably is the reason why things work for your domain using that server and accessing Neo4j over localhost). Uncomment that line and it should make port 7474 accessible to everyone i.e. 0.0.0.0.

In order to secure your Neo4j server with an Authorization layer, you might want to refer Securing access to the Neo4j Server documentation.




回答2:


In my case on ubuntu the line to uncomment was

dbms.connector.http.address=0.0.0.0:7474

File location

Ubuntu: /etc/neo4j/neo4j.conf

Neo4j 3.0.6



来源:https://stackoverflow.com/questions/13705451/how-to-open-neo4j-webadmin-to-remote-control

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!