title: React native Unable to connect with remote debugger ECONNREFUSED
body: <p>I understand that this has been asked many times before but none of the solutions work for me.
  Here is the screen grab of my device(android 6.0.1 samsung J210F):
  <a href="https://i.stack.imgur.com/z60A7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/z60A7.png" alt="enter image description here" /></a></p>
  <p>When I open localhost:8081/debugger-ui I get this message:
  <a href="https://i.stack.imgur.com/0TGE0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/0TGE0.png" alt="enter image description here" /></a></p>
  <p>So debugger is running on 8081.
  BUT it gives this message on console:
  <a href="https://i.stack.imgur.com/BLptq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BLptq.png" alt="enter image description here" /></a></p>
  <p>The reverse tcp command has already been executed by the debugger:
  <a href="https://i.stack.imgur.com/iSfRa.png" rel="noreferrer"><img src="https://i.stack.imgur.com/iSfRa.png" alt="enter image description here" /></a></p>
  <p>(The full error that got clipped was <code>Error running 'RN': timeout on waiting for connection to React Native packager. Make sure you have selected 'Debug JS Remotely' from the Developer Menu</code>.
  I have already selected &quot;Debug JS Remotely&quot; from developer menu so I don't think thats the reason.</p>
  <p>I hope I provided all the information. Have been struggling for hours to solve this.</p>