Tag Archives: cannot connect to daemon

How to Solve Error: could not read ok from ADB Server.failed to start daemon error: cannot connect to daemon

Problem Description:
Execute the command adb connect 127.0.0.1:62001, the error is reported as follows:

* daemon not running; starting now at tcp:5037
could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon

Reason analysis:
Use the command to check whether the port is occupied or not netstat -ano | findstr “5037”

Check that port 5037 is occupied

Solution:
Execute the command kill process to release port 5037:

taskkill -f -pid 15276

Re-execute the adb connect 127.0.0.1:62001 command, the connection is successful