<p>I want to connect to Neo4j database using my creds. I am tunneling into a machine and once that is done, I open my broswer at the port: <code>localhost:7474</code>.
I tried with both neo4j and bolt scheme to connect at the url:
<code>bolt://&lt;node_ip&gt;:7687</code> and <code>neo4j://&lt;node_ip&gt;:7687</code> but the connection times out.</p>
<p>I tried checking the logs but only found that bolt scheme is enabled:</p>
<pre><code>bash-4.2$ tail -f /logs/debug.log
2021-07-02 21:26:03.323+0000 WARN  [o.n.k.a.p.GlobalProcedures] Failed to load `org.apache.commons.logging.impl.LogKitLogger` from plugin jar `/home/sandbox/neo/plugins/apoc-4.2.0.2-all.jar`: org/apache/log/Logger
2021-07-02 21:26:03.946+0000 INFO  [c.n.m.g.GlobalMetricsExtension] Sending metrics to CSV file at /home/sandbox/neo/metrics
2021-07-02 21:26:03.973+0000 INFO  [o.n.b.BoltServer] Bolt enabled on 0.0.0.0:7687.
2021-07-02 21:26:03.974+0000 INFO  [o.n.b.BoltServer] Bolt (Routing) enabled on 0.0.0.0:7688.
2021-07-02 21:26:03.974+0000 INFO  [o.n.s.AbstractNeoWebServer$ServerComponentsLifecycleAdapter] Starting web server
2021-07-02 21:26:04.001+0000 INFO  [o.n.s.m.ThirdPartyJAXRSModule] Mounted unmanaged extension [n10s.endpoint] at [/rdf]
2021-07-02 21:26:05.341+0000 INFO  [c.n.s.e.EnterpriseNeoWebServer] Remote interface available at http://&lt;node_ip&gt;:7474/
2021-07-02 21:26:05.341+0000 INFO  [o.n.s.AbstractNeoWebServer$ServerComponentsLifecycleAdapter] Web server started.
2021-07-02 21:35:34.565+0000 INFO  [c.n.c.c.c.l.s.Segments] [system/00000000] Pruning SegmentFile{path=raft.log.0, header=SegmentHeader{formatVersion=2, recordOffset=56, prevFileLastIndex=-1, segmentNumber=0, prevIndex=-1, prevTerm=-1}}
2021-07-02 21:35:46.079+0000 INFO  [c.n.c.c.c.l.s.Segments] [neo4j/32f6599b] Pruning SegmentFile{path=raft.log.0, header=SegmentHeader{formatVersion=2, recordOffset=56, prevFileLastIndex=-1, segmentNumber=0, prevIndex=-1, prevTerm=-1}}

</code></pre>
<p>The query log is empty, as I could not execute any query:</p>
<pre><code>bash-4.2$ tail -f query.log
2021-07-02 21:25:52.510+0000 INFO  Query started: id:1 - 1009 ms: 0 B - embedded-session        neo4j -  - call db.clearQueryCaches() - {} - runtime=pipelined - {}
2021-07-02 21:25:52.580+0000 INFO  id:1 - 1080 ms: 112 B - embedded-session     neo4j -  - call db.clearQueryCaches() - {} - runtime=pipelined - {}
</code></pre>
<p>The other articles or answers that I read were mostly about misconfiguration: wrong ports but I don't think that is the case with me since I checked from <code>debug.log</code> file that my ports are alright.</p>
<p>FWIW, I am using 3 replicas for my Neo4j and right now, connecting to just one pod.</p>
<p>I am tunnelling both the ports:</p>
<pre><code>ssh -L 7687:$IP:7687 -L 7474:$IP:7474 domain_name.com -N```
</code></pre>

<p>Perhaps you've already checked this, but if not, can you ensure that port <code>7687</code> is also forwarded. When I tunnelled via browser, my expectation was that <code>7474</code> would be sufficient, but it turned out that forwarding <code>7687</code> is also necessary.</p>
