The following is an explanation of Android development:
When starting the adb client, the client first detects whether the adb server process is running, and if not, starts the server. When the server starts, it will bind to the local TCP port 5037 and listen for commands sent from adb clients-all adb clients use the port 5037 to communicate with the adb server.