Use rdctl shell instead of wsl -d
rdctl shell
wsl -d
Because Rancher Desktop creates a network namespace, and rdctl shell gets you inside that namespace