question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to connect to Reactotron from Android Phone?

See original GitHub issue

I tried:

Reactotron.configure() // we can use plugins here -- more on this later
  .connect({
  enabled: true,
  host: '192.168.1.200',  // server ip
  port: 9090
})

PS: Reactotron works on iPhone and Android emulator

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

390reactions
skellockcommented, Aug 24, 2016

Try forwarding that port with adb.

adb reverse tcp:9090 tcp:9090

43reactions
xemasivcommented, Feb 14, 2018

can confirm

run adb reverse tcp:9090 tcp:9090 to forward port run adb reverse --list to ensure it’s there

add the ff code (if tethering, you can also use an specific IP address)

  Reactotron
    .configure({
      host: 'localhost' // added code
    })
    // ...
    .connect()

now it works

Read more comments on GitHub >

github_iconTop Results From Across the Web

No connection reactotron / react-native - Stack Overflow
After that, you connection should work, and you can use Reactotron like described in ... ⌘+M on Android emulator, or shake real devices)....
Read more >
How to Reload React Native App on Android Device + See ...
To see Reactotron logs while running on an Android, type the following into the Terminal. adb reverse tcp:9090 tcp:9090. To reload Android app...
Read more >
How to inspect React Native apps elegantly with Reactotron
Tagged with reactnative, react, mobile. ... For android devices/simulator need to connect the Reactotron to the same port.
Read more >
Reactotron - Inspect your React and React Native apps ...
Inspecting apps is now as easy as it was always meant to be. Effortlessly inspect React JS and React Native mobile apps with...
Read more >
Chain React 2018: Debugging and Beyond with Reactotron ...
You'll see how just a few lines of code will give you access to a world of useful information about what's going in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found