Search code examples
windowsneo4jjupyter-labwindows-subsystem-for-linux

Why is my Neo4j Server now 10x slower since switching to WSL and then back to Windows?


  1. I changed dbms.default_listen_address in C:\neo4j\conf\neo4j.conf to 192.168.1.5
  2. Got a Jupyter server on WSL to access it via neo4j://192.168.1.5:7687
  3. Shut WSL down
  4. Changed dbms.default_listen_address in C:\neo4j\conf\neo4j.conf to localhost
  5. Got a Jupyter server on Windows to access Neo4j via bolt://localhost:7687

It's now 10x slower than before I started WSL up. I would very much appreciate if anybody had any idea on how to fix this and could share it with me.


Solution

  • Sounds perhaps like a network/DNS issue? Like as if it is doing a DNS request for every packet that it sends?

    What happens when you put the local IP back into the config?