-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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 #29587
Comments
Hi @Derewith is your physical device on the same network as where the metro server is running? |
Yeah it is on the same network |
Might be related to #29433 which is also unresolved |
checked info.plist |
@riadhriadh what do you mean? |
@riadhriadh this is my info.plist and the part `NSAppTransportSecurity` it's okay. |
@riadhriadh i'm on iOS so i'cant test on android what's going on |
Any updates? |
|
@Derewith can you provide a repro that consistently does this so I can take a look? |
I was having similar issues, thought it must be cached versions
It works! |
Thank you @timbielawski, this worked for me. I also had to reset the iOS simulator in order to get it to work. |
My devices are running on the same network as the metro bundler. Android connects well with it, but there is always an issue with iOS devices. I'm first building the app with XCode. XCode has its own output log, but I prefer to view the logs in one window. |
This worked: Dev Menu in app -> Configure Bundler, and set to my Mac's specific address. IP: 192.168.0.x
Source: [this comment]. |
There seems to be a problem with watchman, removing it I was able to connect. |
|
I did |
run: Then: Open Awesomeproject.xcodeproj in Xcode Then drag and drop the main.jsbundle file from iOS folder of react native project to the Xcode->AwesomeProject->Awesomeproject->top of AppDeligate.h file(top of list) Then: Then: |
I confirm |
This is it thanks so much, |
Thank you! This is the only solution that worked for me. |
Hello there,
i can't understand why the MetroBundler it's not working.
Description
As soon as i start the app, it throws me this error that won't let me connect to my metro bundler. I checked everything, from the port 8081 status and i don't understand why.
Via the simulator it's working, but with my real device it's not.
I have an iPhone XR with iOS 13.6
React Native version:
Steps To Reproduce
I tried this steps
Expected Results
The app should connect to the MetroBundler.
Screenshot:
The ip you see in the image is the right one.
The text was updated successfully, but these errors were encountered: