adb port forwarding is not working for me and your insight is appreciated. The following command is what I am trying
./adb forward tcp:5985 tcp:5984"
I don't see any errors(in logcat) but it just fails silently. When I try the following command
curl localhost:5985
after that, I get "curl: (56) Recv failure: Connection reset by peer"
When I try curl localhost:5984
, I do see a message as I have a process running on port 5984 (Couchbase server).
I don't think this is an issue with adb itself as all other adb commands are working. Amongst other things I have tried are a) kill-server followed by start-server (with sudo mode as well) b) Restarting my machine.
Needless to say, neither of these have worked. I am working on x64 Ubuntu 11.10.
Please note that I am working with the emulator and my emulator device is running. I do see other messages in logcat just not this one.
Thanks
-Venu