title: SSH tunnel my Neo4j graph database
body: <p>Attempting to set up an ssh tunnel from my neo4j 3.2.3 graph database from my AWS EC2 instance to my local machine. Tried setting it up like I do for tunneling jupyter notebooks, but it looks like neo4j is blocking authentication or something. </p>
  
  <p>So far I've attempted to change my neo4j.conf file on my (remote) EC2 instance according to online research:</p>
  
  <pre><code># Whether requests to Neo4j are authenticated.
  # To disable authentication, uncomment this line
  dbms.security.auth_enabled=false
  
  # With default configuration Neo4j only accepts local connections.
  # To accept non-local connections, uncomment this line:
  dbms.connectors.default_listen_address=0.0.0.0
  
  # HTTPS Connector. There can be zero or one HTTPS connectors.
  dbms.connector.https.enabled=true
  dbms.connector.https.listen_address=0.0.0.0:7473
  #dbms.connector.https.address=0.0.0.0:7473
  </code></pre>
  
  <p>And on my local machine I setup an ssh tunnel like I would for a jupyter notebook tunnel (which I have successfully setup already for this same EC2 instance):
  <code>ssh -NfL localhost:7474:localhost:7474 project</code> &lt;-- 7474 being the port neo4j is running on at my remote machine's local port</p>
  
  <p>When I try opening the browser on my local machine at <code>localhost:7474</code>, I'm getting the welcome screen of the Neo4j browser, but it's not letting my sign in to the db. Instead, I get a "WebSocket connection failure".</p>
  
  <p>It's autofilling the Host: to use <code>bolt://localhost:7687</code> which I'm unfamiliar with. Entering username and password as well (which have been entered correctly).</p>
  
  <p>Anyone know how to successfully ssh tunnel a neo4j (version 3.2.3) database to a local machine?</p>