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

Could not connect to development server. #56

Closed
SanderSpies opened this issue Feb 10, 2015 · 2 comments
Closed

Could not connect to development server. #56

SanderSpies opened this issue Feb 10, 2015 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@SanderSpies
Copy link

I'm trying to run a React Native application on my iPod, however I'm getting a "Could not connect to development server" (

NSLocalizedDescriptionKey: @"Could not connect to development server. Ensure node server is running - run 'npm start' from ReactKit root",
) message.

What am I doing wrong?

@nick
Copy link

nick commented Feb 10, 2015

You may need to update AppDelegate.m with the IP address of your dev machine:

To run on device, change localhost to the IP address of your computer, and make sure your computer and iOS device are on the same Wi-Fi network.

@SanderSpies
Copy link
Author

@nick Great that worked! :-)

harrykiselev pushed a commit to harrykiselev/react-native that referenced this issue Aug 5, 2015
@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants