Adb connection'error: protocol fault (couldn't read status): Connection reset by peer' problem solution

error: protocol fault (couldn't read status): Connection reset by peer

1. Problem phenomenon: When
opening the adb connection device, the test device has not been connected, prompt: Unable to start adb server: error: protocol fault (couldn't read status): Connection reset by peer


2. The cause of the problem: In
most cases, port 5037 is occupied. 5037 is the default port of adb.
Solution:
Check which program occupies the adb port, end this program, and then restart adb.

Three, solve the problem:

1: Use the command: netstat -aon|findstr "5037" to find the PID of the process occupying port 5037.


2: Use the command: tasklist|findstr "5440" to find the process by PID.
3: Bring up the task manager, find the process, and end the process.
4: Use the command: adb start-server to start adb

Guess you like

Origin blog.csdn.net/jinhoward/article/details/108207358