android - adb fails with "cannot bind 'local:5037'" - Super User
https://superuser.com/questions/814386/adb-fails-with-cannot-bind-local5037
1 Answer. Sorted by: 6. Note that the error says local:5037, not tcp:5037. ADB is actually trying to connect to an unix socket at /tmp/5037, which fails. In my case this was because I ran adb as root before. Thus, the socket was owned by root, forbidding my user from removing it. Relevant excerpt from strace adb fork-server server:
DA: 25 PA: 14 MOZ Rank: 96 Up or Down: Up