title: Unable to connect adb in wsl2 to windows adb server
body: <p>My requirement is simple - I wanted to use ADB in wsl2. But there is no USB support in wsl2, so I took help from github issue <a href="https://github.com/microsoft/WSL/issues/4619#issuecomment-596990676" rel="nofollow noreferrer">#4619</a> and enable access to wsl2 section in <a href="https://gist.github.com/bergmannjg/461958db03c6ae41a66d264ae6504ade#enable-access-to-adb-server-from-wsl2" rel="nofollow noreferrer">Building a react native app in WSL2</a>. Yet nothing works. Following are the steps I took:</p>
  <ol>
  <li>Downloaded sdk platform tools from <a href="https://developer.android.com/studio/releases/platform-tools" rel="nofollow noreferrer">here</a> for windows. Ran <code>adb --version</code> which is <code>Android Debug Bridge version 1.0.41</code></li>
  <li>Downloaded the same for linux for wsl and unzipped and checked the version to be the same. (Also made changes to .bashrc to have it point to adb where I unzipped)</li>
  <li>Connected mobile with usb which had the USB and wireless debugging option on.</li>
  <li>Ran <code>adb devices</code> in windows to check if I could see my mobile being listed and it was. Then ran <code>adb kill-server</code> to proceed with the next steps.</li>
  <li>Did the same in wsl2 to see if the device is listed or not , but it wasn't. So I ran <code>adb kill-server</code> to proceed with the next steps.</li>
  <li>Tried <a href="https://github.com/microsoft/WSL/issues/4619#issuecomment-596990676" rel="nofollow noreferrer">#4619</a> and <a href="https://gist.github.com/bergmannjg/461958db03c6ae41a66d264ae6504ade#enable-access-to-adb-server-from-wsl2" rel="nofollow noreferrer">Building a react native app in WSL2</a> but to no avail.</li>
  </ol>
  <p>Please help.</p>