![]() ![]() Go to Scope -> Remote IP Addresses -> Add "172.16.0.0/12" (this is the WSL VM subnet).After the firewall entry is added, right click on it and go to Properties.Check Domain, Private, and Public as needed for your Internet connection (I only added Domain and Private).Select "Port" then Specific TCP port "5037", then "Allow the connection". ![]() Right click on "Inbound Rules" and click "New Rule".Open Windows Defender Firewall and go to Advanced Settings.(1) In WSL, add the following to ~/.bashrc: export WSL_HOST_IP="$(tail -1 /etc/nf | cut -d' ' -f2)"Įxport ADB_SERVER_SOCKET=tcp:$WSL_HOST_IP:5037 ![]() Found this work-around in a WSL GitHub issue that worked, adding the steps here with a few extra details:
0 Comments
Leave a Reply. |