Skip to content

React Native Dev tool lauching error #17910

Closed

Description

@varunajmera0

I am requesting to launch dev tool but it forwards to http://10.0.2.2:8081/debugger-ui

Activity

  1. react-native-bot commented on Feb 8, 2018

    @react-native-bot
    Collaborator
  2. facebook-github-bot commented on Feb 8, 2018

    @facebook-github-bot
    Contributor

    Something went wrong executing that command, @mkonicek could you take a look?

  3. blazergame commented on Feb 8, 2018

    @blazergame

    @varunajmera0 try killing the process of your browser and emulator. Run adb kill-server to remove your attached devices. Restart your emulator and rerun the remote debugger. The remote debugger should be pointing to your localhost:8081/debugger-ui

  4. varunajmera0 commented on Feb 8, 2018

    @varunajmera0
    Author

    I am using react native from past few months and never came across this error so why to kill the server, can you explain how it will help? How come this error came from nowhere I don't know. @blazergame

  5. blazergame commented on Feb 8, 2018

    @blazergame

    I had a similar issue last night. It seems like the emulator is connecting to an old debugger session. By resetting that connection, it'll create a new connection to reconnect with. If that didn't work, it might be something else that I'm not too sure of.

  6. varunajmera0 commented on Feb 9, 2018

    @varunajmera0
    Author

    I have just deployed one app with "react-native": "0.52.2". It doesn't happen with this version ( "react-native": "0.52.2"). It is happening only with "react-native": "0.53.0".

  7. hramos commented on Feb 9, 2018

    @hramos
    Contributor

    Hey, thanks for reporting this issue!

    It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.

    I am going to close this, but feel free to open a new issue that meets the requirements set forth in the template. Thanks!

  8. varunajmera0 commented on Feb 10, 2018

    @varunajmera0
    Author

    What kind of description is missing or list of reproduction steps?
    Your Dev tool is not launching.

  9. varunajmera0 commented on Feb 10, 2018

    @varunajmera0
    Author

    See again, every time I have to write manually this http://localhost:8081/debugger-ui/
    image

  10. vladp commented on Apr 8, 2018

    @vladp

    I have same issue with 0.54.
    Why is react-native bridge asking Chrome to access http://10.0.2.2:8081/debugger-ui
    ?
    this is an internal address within emulator and will not be accessible by chrome.

    Not clear why this issue is closed, has it been resolved or is this a user error?

  11. varunajmera0 commented on Apr 9, 2018

    @varunajmera0
    Author

    @vladp they won't give any response. Before 0.54, I didn't get that error.

  12. ichoubrahim commented on Apr 24, 2018

    @ichoubrahim

    Try to access the debugger with your local address : http://127.0.0.1:8081/debugger-ui/ or http://localhost:8081/debugger-ui/ because 10.0.x.x is not accessible by chrome.

  13. alihalabyah commented on May 4, 2018

    @alihalabyah

    Any updates on this?

  14. devmrin commented on May 17, 2018

    @devmrin

    Solved the issue for me following:

    Press Cmd + M on emulator screen
    Go to Dev settings > Debug server host & port for device
    Set localhost:8081
    Rerun the android app: react-native run-android
    Debugger is connected now!

  15. chenUT commented on May 17, 2018

    @chenUT

    @devmrin 's solution works for me. Thanks.

  16. YogendraShelke commented on Jun 6, 2018

    @YogendraShelke

    Use actual device for debugging

  17. msoheilipro commented on Jul 4, 2018

    @msoheilipro

    The solution by devmrin commented on May 17 works for me too

  18. Johncy1997 commented on Aug 27, 2018

    @Johncy1997

    @devmrin solution will work.

  19. aswinaryal commented on Sep 3, 2018

    @aswinaryal

    the perfect solution for this issue is:
    Inside your emulator:
    Press Cmd + M ( on Mac) or Ctrl+M ( on windows)
    Go to Dev Settings and under Debugging menu click

    Debug server host & port for device
    Set it to
    localhost: 8081.
    Reload the app.

  20. locked as resolved and limited conversation to collaborators on Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions