How to fix the error "Unable to open debugger port " in Android Studio?
38,936
Solution 1
I was able to fix this with these commands:
adb kill-server
adb start-server
Solution 2
Try Restarting ANDROID STUDIO (Worked for me)
Solution 3
In my case, there was another service running on my laptop(Windows) that was using the port 8600. I opened Task Manager and stopped the service. Now, I could debug my application normally without the above error.
Solution 4
I solve the problem by checking my localhost.
Making sure 127.0.0.1 localhost
.
Solution 5
For me this problem started when i upgraded my Android Studio to new version.
Please go to options menu Build and choose Clean Project.
That is it project started to run again and error was gone.
Author by
arun8
Updated on September 13, 2020Comments
-
arun8 over 3 years
Error running Android Debugger (8600): Unable to open debugger port (localhost:8600): java.net.SocketException "Connection reset"