# Exact config file to install neo4j on Ubuntu 18.02 server

**URL:** <https://community.neo4j.com/t/exact-config-file-to-install-neo4j-on-ubuntu-18-02-server/16130>\
**Category:** Installation\
**Created:** [March 23, 2020, 7:14am UTC](https://community.neo4j.com/t/exact-config-file-to-install-neo4j-on-ubuntu-18-02-server/16130 "2020-03-23T07:14:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnuvardhans1698](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/vishnuvardhans1698/32/8227_2.png) [@vishnuvardhans1698](https://community.neo4j.com/u/vishnuvardhans1698)\
**Post date:** [March 23, 2020, 7:14am UTC](https://community.neo4j.com/t/exact-config-file-to-install-neo4j-on-ubuntu-18-02-server/16130/1 "2020-03-23T07:14:43Z")

</div>

Hello guys!  
I have been trying to install neo4j in ubuntu for the past one week but i couldn't achieve it. I have tried all the methods in the documentation, had seen solutions here in the community and stack overflow but of no use. I'm really tired. So i have reset the server and freshly installed the neo4j. Now's its opening in the browser using `<my_ip>:7474`. But when i go to `<my_ip>:7687` it shows **not a websocket handshake request**.

By default in my browser, _username is neo4j_ and _password is neo4j._

Someone please send me the whole config file with exact details of where to change and also what commands to use in ubuntu. Also if i run a simple command in the browser like `Create(n),` the wheel keeps on rotating for a long time and gives me `**WebSocket Connection Failure error.`\*\*

So please help. I'm out of all the methods and tired of this. Thank You!  
Peace! 🙂

---

<div class="post-metadata">

**Author:** ![omerule](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/omerule/32/784_2.png) [@omerule](https://community.neo4j.com/u/omerule)\
**Post date:** [March 23, 2020, 9:07am UTC](https://community.neo4j.com/t/exact-config-file-to-install-neo4j-on-ubuntu-18-02-server/16130/2 "2020-03-23T09:07:10Z")

</div>

Goodmorning,  
Because you can connect to port 7474 it seems the server is running. Allthough within the browser at port 7474 the browser also connects to port 7687 (the Bolt protocol). I dont know the exact setup of your Ubuntu installation and how you connect.

Can you login to the Ubuntu and run the browser within Ubuntu and go to [http://localhost:7474](http://localhost:7474) and then login (maybe you will be asked to change your current Neo4j password) and then run the query at localhost:7474?

---

<div class="post-metadata">

**Author:** ![vishnuvardhans1698](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/vishnuvardhans1698/32/8227_2.png) [@vishnuvardhans1698](https://community.neo4j.com/u/vishnuvardhans1698)\
**Post date:** [March 23, 2020, 9:25am UTC](https://community.neo4j.com/t/exact-config-file-to-install-neo4j-on-ubuntu-18-02-server/16130/3 "2020-03-23T09:25:09Z")

</div>

I went to the browser. It showed be localhost:7474. But when i click connect, it's not happening. So i changed it to \<my\_ip\>:7474 in the browser. It got logged in but whenever i try to run a query, the wheel keeps on rotating and then gives me websocket error.  
Peace! 🙂

---

<div class="post-metadata">

**Author:** ![omerule](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/omerule/32/784_2.png) [@omerule](https://community.neo4j.com/u/omerule)\
**Post date:** [March 23, 2020, 9:40pm UTC](https://community.neo4j.com/t/exact-config-file-to-install-neo4j-on-ubuntu-18-02-server/16130/4 "2020-03-23T21:40:39Z")

</div>

Goodevening,  
The deafult configuration for Neo4j is to listen on "localhost".  
Maybe you changed something in the configuration file.

Can you login to the Ubuntu server and please check if Neo4j is listing on the ports 7474 7687 and if so on which IP address?  
To check you can you something like  
$sudo ss -ntulp

Yours Kindly

---

<div class="post-metadata">

**Author:** ![vishnuvardhans1698](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/vishnuvardhans1698/32/8227_2.png) [@vishnuvardhans1698](https://community.neo4j.com/u/vishnuvardhans1698)\
**Post date:** [March 25, 2020, 5:24am UTC](https://community.neo4j.com/t/exact-config-file-to-install-neo4j-on-ubuntu-18-02-server/16130/5 "2020-03-25T05:24:47Z")

</div>

Hello! Sorry for late reply. Actually, previously my `dbms.advertised_address = localhost`  
but now i changed it to` <my_ip>` and it's working. thanks.  
Peace! 🙂
