# Can't access Neo4j community version installed on a Linux virtual machine in Azure

**URL:** <https://community.neo4j.com/t/cant-access-neo4j-community-version-installed-on-a-linux-virtual-machine-in-azure/28680>\
**Category:** Aura & Cloud\
**Tags:** azure\
**Created:** [November 9, 2020, 8:50am UTC](https://community.neo4j.com/t/cant-access-neo4j-community-version-installed-on-a-linux-virtual-machine-in-azure/28680 "2020-11-09T08:50:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LJRB](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/ljrb/32/6840_2.png) [@LJRB](https://community.neo4j.com/u/LJRB)\
**Post date:** [November 9, 2020, 8:50am UTC](https://community.neo4j.com/t/cant-access-neo4j-community-version-installed-on-a-linux-virtual-machine-in-azure/28680/1 "2020-11-09T08:50:00Z")

</div>

I have to install Neo4j community edition on a VM in Azure I can't access 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
4. Installed the latest Neo4j community version
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:

```auto
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

```

1. 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)

 ![inbound](https://us1.discourse-cdn.com/flex021/uploads/neo4jcommunity/original/2X/7/755ad7cde847ce53142e7f764b0d72643269c043.jpeg)

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) ?

---

<div class="post-metadata">

**Author:** ![LJRB](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/ljrb/32/6840_2.png) [@LJRB](https://community.neo4j.com/u/LJRB)\
**Post date:** [November 10, 2020, 11:49am UTC](https://community.neo4j.com/t/cant-access-neo4j-community-version-installed-on-a-linux-virtual-machine-in-azure/28680/2 "2020-11-10T11:49:55Z")

</div>

I found the solution, I had to add port 7474 and 7687 to inbound security rules. And it works

---

<div class="post-metadata">

**Author:** ![sachin\_suryawanshi](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/sachin_suryawanshi/32/16526_2.png) [@sachin\_suryawanshi](https://community.neo4j.com/u/sachin_suryawanshi)\
**Post date:** [May 27, 2021, 2:11pm UTC](https://community.neo4j.com/t/cant-access-neo4j-community-version-installed-on-a-linux-virtual-machine-in-azure/28680/3 "2021-05-27T14:11:40Z")

</div>

Instead of Ubuntu, I have used Red Hat Enterprise Edition 8.1 also enabled both the port, But I am unable to browse using Browser with 7474 port.

Can someone help me in it

---

<div class="post-metadata">

**Author:** ![dana\_canzano](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dana_canzano/32/27392_2.png) [@dana\_canzano](https://community.neo4j.com/u/dana_canzano)\
**Post date:** [May 27, 2021, 5:37pm UTC](https://community.neo4j.com/t/cant-access-neo4j-community-version-installed-on-a-linux-virtual-machine-in-azure/28680/4 "2021-05-27T17:37:24Z")

</div>

in your conf/neo4j.conf have u enabled remote browser connections similar to

```auto

# *****************************************************************
# Network connector configuration
# *****************************************************************

# With default configuration Neo4j only accepts local connections.
# To accept non-local connections, uncomment this line:
dbms.default_listen_address=0.0.0.0

```
