Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open Neo4J Webadmin to remote control?

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.

like image 728
gzg Avatar asked Dec 04 '12 14:12

gzg


People also ask

How do I access Neo4j remotely?

Start by adding a Remote connection in your Project and enter the URL of your remote instance, for example bolt://:7687 . In the next step, you are required to enter your credentials. When you start Neo4j Browser, you will be connected to your remote graph.

How do I open a Neo4j database?

Launch Neo4j Browser If you using AuraDB, go to the Aura Console, and find Neo4j Browser in the "Open" button. If you are using Neo4j Desktop, you can use the graph apps tab on the left hand side (which looks like four squares) to find Neo4j Browser, which will connect to any running database that you have.

What is Neo4j username and password?

The default username for a neo4j database is neo4j. The DB Password is the password for the neo4j database. The default password for a neo4j database is neo4j.

How do I get my Neo4j password?

Recover a lost password You can use a client such as Cypher Shell or the Neo4j Browser to connect to the system database and set a new password for the admin user. In a cluster deployment, you should complete the steps only on one of the Core servers. Complete the steps in Disable authentication as per your deployment.


2 Answers

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.

like image 73
rhetonik Avatar answered Sep 27 '22 17:09

rhetonik


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

like image 34
QGA Avatar answered Sep 27 '22 17:09

QGA