To connect to a [[neo4j]] database running on the Windows Desktop client with WSL, you need to update the `localhost` portion of the connection URI. First, find the proper IP address from WSL to reach windows. ```bash ip route | grep default ``` This should return something like ```bash default via 172.22.224.1 dev eth0 ``` Update the URI in your code to include this address. ```python NEO4J_URI = "bolt://172.22.224.1:7687" ``` Also uncomment the following lines in the `neo4j.config` file for the database (click the `...` menu for the database from the desktop client to open this file). ```TOML server.default_listen_address=0.0.0.0 server.default_advertised_address=localhost ``` This will ensure both the Desktop client and WSL can connect to the database.