View Single Post
Old 2021-07-13, 05:32   #24
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

178510 Posts
Default

For anyone operating with WSL2 and trying to connect to a CADO-NFS server hosted within WSL2, you have to do something particular to connect the virtual ethernet adapter created for WSL2 with your actual network connection. See link:

https://www.williamjbowman.com/blog/...er-from-wsl-2/

In particular, this step:
Code:
netsh interface portproxy add v4tov4 listenport=$PORT listenaddress=0.0.0.0 connectport=$PORT connectaddress=127.0.0.1
followed by setting an inbound rule for the port of choice.

I've done this and can confirm that it works. What I'm not clear on is whether you will have to repeat this process every time you restart WSL2/your computer as I've not done that yet.
wombatman is offline   Reply With Quote