adb start-server and listen on all interfaces ADB in Android 4.3 SDK implemented -a option. What I want is:

adb -a start-server


so the background process is bound to all interfaces, but it does not work. I need to start it like this on Windows. I have managed to start the server in foreground mode with the following command:

adb -P 5037 -a fork-server server


(copied it from Linux)

Is there any proper way of achieving the same?
This is a bug in the current implementation. Although adb has the -a flag, it doesn't forward it to the daemon when it launches it, so the daemon still only listens on localhost. Until this is fixed, launching the daemon in the foreground seems to be the only solution.

Another improvement would be to keep the command server on localhost, but to allow adb forward to bind to all ports. I guess I should open a bug for that.