# Unable to connect to localhost:7687

**URL:** https://community.neo4j.com/t/unable-to-connect-to-localhost-7687/37542
**Category:** Cypher
**Created:** [April 28, 2021, 2:46pm UTC](https://community.neo4j.com/t/unable-to-connect-to-localhost-7687/37542 "2021-04-28T14:46:11Z")
**Posts on this page:** 4
**Page:** 1

<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: [April 28, 2021, 2:46pm UTC](https://community.neo4j.com/t/unable-to-connect-to-localhost-7687/37542/1 "2021-04-28T14:46:11Z")

</div>

Please keep the following things in mind:

Unable to connect to localhost:7687, ensure the database is running and that there is a working network connection to it.

I am using Neo4j Causal Cluster with Enterprise Edition

1. did you [search](https://community.neo4j.com/search?expanded=true) for what you want to ask before posting?
2. please use [tags](https://community.neo4j.com/tags) for additional info
3. use a self-descriptive title

Please format code + Cypher statements with the code `</>` icon, it's much easier to read.

Please provide the following information if you ran into a more serious issue:

- neo4j version, desktop version, browser version
- what kind of API / driver do you use
- screenshot of [`PROFILE` or `EXPLAIN`](https://community.neo4j.com/t/how-can-i-optimize-my-cypher-queries/114/2) with boxes expanded (lower right corner)
- a sample of the data you want to import
- which plugins / extensions / procedures do you use
- neo4j.log and debug.log

---

<div class="post-metadata">

### Author: ![Joel](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/joel/32/17191_2.png) [@Joel](https://community.neo4j.com/u/Joel)
#### Post date: [May 4, 2021, 5:02pm UTC](https://community.neo4j.com/t/unable-to-connect-to-localhost-7687/37542/2 "2021-05-04T17:02:50Z")

</div>

Hi @sachin_suryawanshi, Welcome, did you have a question? If yes, what is it? I think you may have accidentally posted the question template. Joel

---

<div class="post-metadata">

### Author: ![zombiepoom02](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/zombiepoom02/32/29519_2.png) [@zombiepoom02](https://community.neo4j.com/u/zombiepoom02)
#### Post date: [August 25, 2023, 2:40am UTC](https://community.neo4j.com/t/unable-to-connect-to-localhost-7687/37542/3 "2023-08-25T02:40:21Z")

</div>

I just recently install neo4j 4.1.12 on Ubuntu 22.04.3 LTS  
and after I checked neo4j service status, It still looking good tho.  
so I decided to use `cypher-shell` but it has some error.

```auto
Unable to connect to localhost:7687, ensure the database is running and that there is a working network connection to it.

```

Can some one help me to fix this error pls?

---

<div class="post-metadata">

### Author: ![adveatkarnik](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/adveatkarnik/32/31116_2.png) [@adveatkarnik](https://community.neo4j.com/u/adveatkarnik)
#### Post date: [August 12, 2024, 10:09am UTC](https://community.neo4j.com/t/unable-to-connect-to-localhost-7687/37542/4 "2024-08-12T10:09:28Z")

</div>

Hi, did you figure out the solution to this?
