问题
Just installed Neo4j community v1.9.4 - thanks for Windows Desktop Launcher. A couple of configuration questions:
1) How can I set the webserver to listen to any connection? In the previous versions I could set the webserver to listen on 0.0.0.0; With the new version, the properties file (neo4j-server.properties) doesn't appear any longer.
2) From the desktop launcher, is it possible to change the default database starting location? I am working with a previously created database and have to point the launcher at it every time I start.
Thanks.
回答1:
When you start neo4j-community.exe, a window pops up (neo-4-j Version 2.2.2). In the lower left corner, you find a button named Options...
Press this button, and you will find the configuration files. C:\Users\YOUR_NAME_HERE\AppData\Roaming\Neo4j Community\neo4j-server.properties
When you push "Edit..." you can edit the files you want - in your case the file in the "Server Configuration" section.
Just add
# Disable authorization
dbms.security.auth_enabled=false
But be aware of the security problems mentioned here http://neo4j.com/docs/stable/security-server.html#security-server-auth
Hope that helps
回答2:
You should see the installation folder from the Neo4j web console (last tab), in there you can change the neo4j-server.properies
to your existing database. Same thing goes for the listening.
来源:https://stackoverflow.com/questions/19015531/neo4j-community-v1-9-4-how-to-configure-ip-address-and-default-database-locati