Zotero connector refuses connection from WSL2
Thanks to the developers for this awesome package! I'm looking to connect to Zotero Connector running at 127.0.0.1:23119 from WSL2. Connections from WSL, however, is not considered localhost to Windows and thus get refused. One can quickly test this with Zotero open in Windows and running the following in WSL2 shell:
```
wget http://127.0.0.1:23119/connector/ping
```
Is there a way to get this working? One way is to temporarily allow the server to accept any connections, but this may expose security risks. The other solution is to enumerate the network adapters, find ones with the names "Ethernet (WSL)", read the IP address, and add them to the server list of the Zotero Connector.
Thank you!
```
wget http://127.0.0.1:23119/connector/ping
```
Is there a way to get this working? One way is to temporarily allow the server to accept any connections, but this may expose security risks. The other solution is to enumerate the network adapters, find ones with the names "Ethernet (WSL)", read the IP address, and add them to the server list of the Zotero Connector.
Thank you!
-
xfy9326I tried to implement a proxy server for WSL in Python, maybe it can help. https://github.com/XFY9326/Zotero-WSL-ProxyServer
-
wylwayne@xfy9326 thanks for making this helpful tool! finally I found the answer to using Zotero in my wsl!