# Firewall configuration with Neo4j - no route to host error

**URL:** https://community.neo4j.com/t/firewall-configuration-with-neo4j-no-route-to-host-error/77530
**Category:** Server
**Tags:** browser, port
**Created:** [April 27, 2026, 5:23am UTC](https://community.neo4j.com/t/firewall-configuration-with-neo4j-no-route-to-host-error/77530 "2026-04-27T05:23:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dyim](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dyim/32/36376_2.png) [@dyim](https://community.neo4j.com/u/dyim)
#### Post date: [April 27, 2026, 5:23am UTC](https://community.neo4j.com/t/firewall-configuration-with-neo4j-no-route-to-host-error/77530/1 "2026-04-27T05:23:58Z")

</div>

Hello,

I installed neo4j server community edition in linux and configuring firewall properly.

I registered port 7474 and 7687.

I can access [https://10.10.10.1:7474/browser](https://10.10.10.1:7474/browser). However the next login process was waiting and connection failure.

What firewall rule should be added in this case ? 7474 and 7687 are open in firewall.

I don't have iptable rule in the server.

**$cypher-shell -a neo4j://10.10.10.1:7687**

**no route to host**

$ping 10.10.10.1

I can receive ping response properly.

How can I fix this eror?

---

<div class="post-metadata">

### Author: ![joost.rehder](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/joost.rehder/32/35780_2.png) [@joost.rehder](https://community.neo4j.com/u/joost.rehder)
#### Post date: [April 27, 2026, 12:13pm UTC](https://community.neo4j.com/t/firewall-configuration-with-neo4j-no-route-to-host-error/77530/2 "2026-04-27T12:13:45Z")

</div>

are you sure its a good idea to open these ports in your firewall for everyone to find your services when you dont seem to know what you are doing?

However apart from security concerns, are you using docker to host your neo4j service?

Are you on the same machine as the neo4j service? Because then you wouldnt need to touch your firewall and should be able to access it at [http://localhost:7474](http://localhost:7474)

Using 10.10.10.1 also seems like you are trying to reach a local service. Im not sure if 10.10.10.1 is the server you want to reach though, as it is most likely your router or atleast default gateway, and not the server/pc you run neo4j on.

If you are in fact not trying to access neo4j on the same machine you should find out its actual ip address.

---

<div class="post-metadata">

### Author: ![dyim](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dyim/32/36376_2.png) [@dyim](https://community.neo4j.com/u/dyim)
#### Post date: [April 27, 2026, 11:52pm UTC](https://community.neo4j.com/t/firewall-configuration-with-neo4j-no-route-to-host-error/77530/3 "2026-04-27T23:52:45Z")

</div>

@joost.rehder

I found 7687 port was in issue in the server and cleaned the port and restarted the server.

Now configuration works ok.

BTW, do you suggest router solution with Neo4J ? Is there more detail configuration or architecture I can refer?

Thank you.

---

<div class="post-metadata">

### Author: ![john.stegeman](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/john.stegeman/32/26277_2.png) [@john.stegeman](https://community.neo4j.com/u/john.stegeman)
#### Post date: [April 28, 2026, 3:43pm UTC](https://community.neo4j.com/t/firewall-configuration-with-neo4j-no-route-to-host-error/77530/4 "2026-04-28T15:43:13Z")

</div>

That is really dependent on your particular environment more than Neo4j. The [docs](https://neo4j.com/docs/operations-manual/current/configuration/ports/) list the common ports and default values, so you can use that as a starting point

---

<div class="post-metadata">

### Author: ![dyim](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dyim/32/36376_2.png) [@dyim](https://community.neo4j.com/u/dyim)
#### Post date: [May 12, 2026, 1:08am UTC](https://community.neo4j.com/t/firewall-configuration-with-neo4j-no-route-to-host-error/77530/5 "2026-05-12T01:08:50Z")

</div>

I tried to run docker version also, the docker hold the port. After I remove the port, the server works well.

Thank you.
