title: Android Studio Adb not working while tethering
body: <p>My laptop WiFi adapter is not working, so basically I'm using internet through phone tethering.</p>
  
  <p>Apparently this make ADB not working. This is the error I got:</p>
  
  <pre><code>Emulator: emulator: ERROR: AdbHostServer.cpp:93: Unable to connect to adb daemon on port: 5037
  </code></pre>
  
  <p>If i try to kill the Adb, by running <code>adb kill-server</code>, I'll got:</p>
  
  <pre><code>Cannot connect to daemon at tcp:5037: cannot connect to 127.0.0.1:5037: No connection could be made because the target machine actively refused it. (10061)
  </code></pre>
  
  <p>If I stop phone tethering, ADB will run just fine and I can start the emulator. Is there a way to run ADB while at the same time use internet through phone tethering?</p>