-
-
Notifications
You must be signed in to change notification settings - Fork 197
NativeScript debugger encountered Error Domain=NSPOSIXErrorDomain Code=48 "Address already in use". #1916
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
Comments
Hey @alexziskind1, Do you get this error every time when you run the debugger? Hey @vchimev @dtopuzov @SvetoslavTsenov can you confirm this? |
@enchev - I got this error EVERY time I ran debug and whether I started the app in debugging or attached to it. This also happens on two of my Macs- a MacBookPro and an iMac. After I restarted the machine, the problem went away. |
Hey @alexziskind1, We believe that this was caused by the fact the both iOS and Android debuggers were using the same port. We resolved this recently here: |
@enchev I hope that fixes it. However, I want to add that when I get this error, I am not running the android emulator, just the iOS simulator alone. Also, I haven't restarted my other machine (iMac) and still getting the error on that one. Let me know if there is some kind of trace or something I can do that can help diagnose. |
Can you pull our master branch, use it instead the official CLI and let us know if you still have the same problems? |
Sure. Can you point me to a set of instructions on how to do that? |
Can of worms :)
I also tried using |
@alexziskind1 Can you try setting one up? Cheers, |
Thanks @ErjanGavalji |
|
Hey @SvetoslavTsenov @vchimev can you check this? |
Still can not reproduce. @alexziskind1 can you try "tns debug ios --emulator --log trace" and post the log (may be part after *** BUILD SUCCEEDED *** will be enough). --log trace will show the port used by debugger and you can check if something else also try to use this port. |
Unfortunately my machine restarted due to a power outage so I lost the ability to reproduce. |
I get this error when trying to start debugging using the iOS emulator:
NativeScript debugger encountered Error Domain=NSPOSIXErrorDomain Code=48 "Address already in use".
Versions:
El Capitan 10.11.5
XCode 7.3.1
NativeScript 2.1.1
What else can I get you?
Thanks,
Alex
The text was updated successfully, but these errors were encountered: