Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service started on different address than Wifi is #15933

Closed
jurosh opened this issue Sep 13, 2017 · 8 comments
Closed

Service started on different address than Wifi is #15933

jurosh opened this issue Sep 13, 2017 · 8 comments
Labels
Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@jurosh
Copy link

jurosh commented Sep 13, 2017

Is this a bug report?

Yes.

Environment

react-native-cli: 2.0.1
react-native: 0.47.2
NodeJs v7.6.0
yarn 1.0.1

on Windows10

Steps to Reproduce

  1. yarn start in project directory
  2. Try to scan QR code
  3. It's not working because script used incorrect IP address (of virtualbox adapter)

Expected Behavior

Script should know which IP is Wifi connection or ask which adapter to use.

At least would be good to have documented option how to configure which adapter should be used manually.

Actual Behavior

It takes incorrect IP address.

From adapters:

  • VirtualBox Host-Only Network
  • Wi-Fi (active Wifi connection which should be used)
@radko93
Copy link
Contributor

radko93 commented Sep 14, 2017

I don't really get what's the real problem. Why is scanning a QR code related to react-native? Is it really a bug in react native. Seems it's only related to your installation.

@radko93
Copy link
Contributor

radko93 commented Sep 14, 2017

@facebook-github-bot needs-repro

@facebook-github-bot
Copy link
Contributor

Can you reproduce the issue using Snack? This step is necessary for people to be able to see and debug the issue being reported. See "How to Contribute".

@facebook-github-bot facebook-github-bot added Needs more information Ran Commands One of our bots successfully processed a command. labels Sep 14, 2017
@jurosh
Copy link
Author

jurosh commented Sep 14, 2017

@radko93 it's not just me, also saw that few others having the same issue. It's not about QR code - I didn't mentioned that. Whole service (npm start) started on incorrect adapter (= on incorrect IP address), so it's not possible to connect - even when I use correct IP address (of Wifi adapter).

That this might happen to anyone who is using multiple network adapters.

I've hotfixed this by manually setting Network interface metrics in Network adapters settings - but it's possible that other's might deal with same issue.

@jurosh
Copy link
Author

jurosh commented Sep 14, 2017

This looks to be related expo/create-react-native-app#60 - not sure why it was closed, but seems like that just happened to me yesterday.

If there will be no real resolution (in near future).. maybe we might include hotfix from last comment in documentation ? (that hotfix helped me - otherwise I would not be able to run app). I can prepare some PR for docs update, what do you think?

@stale
Copy link

stale bot commented Nov 13, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Nov 13, 2017
@radko93
Copy link
Contributor

radko93 commented Nov 14, 2017

If you think this will help anyone, please send a PR.

@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Nov 14, 2017
@stale
Copy link

stale bot commented Jan 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 13, 2018
@stale stale bot closed this as completed Jan 20, 2018
@facebook facebook locked and limited conversation to collaborators May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

3 participants