user13469785
user13469785

Reputation:

Can't access Neo4j community version in the browser (installed on a Linux virtual machine in Azure)

I tried to install Neo4j community edition on a VM in Azure, I can't access it in the browser.

I did this:

  1. Created a virtual machine in Azure on which you can host a Neo4j community version server I choose Linux (Ubuntu 18.04) virtual machine in Azure

  2. Connect to the virtual machine throught Azure CLI and start installing

  3. Installed Java 11 throught Azure CLI

  4. Installed the latest Neo4j community version throught Azure CLI

  5. Setted up Neo4j to be accessible over the internet: sudo vim /etc/neo4j/neo4j.conf

  6. Add/edit the following lines to the config file:

    dbms.connector.bolt.enabled=true dbms.connector.bolt.listen_address=0.0.0.0:7687 dbms.connector.http.enabled=true dbms.connector.http.listen_address=0.0.0.0:7474

  7. To access port 7474 from outside the Linux machine, I added it to the inbound port rules for the virtual machine (but I'm not sure if I did it wright)

enter image description here

Inbound security rules:

enter image description here

  1. I tried to access to Neo4j in the browser with: http://<ip_adress_of_vm>:7474

But 8) doesn't work: ERR_CONNECTION_REFUSED. I don't know if it is the best method to install Neo4j community version in a Linux virtual machine.

What do I have to change to succeed in opening this in the browser ? Maybe I did bad 7) ?

Upvotes: 1

Views: 406

Answers (1)

Charles Xu
Charles Xu

Reputation: 31454

According to the messages you provided, the problem is that you do not add the Inbound rules for ports 7474 and 7687 to allow the traffic.

Upvotes: 1

Related Questions