On Apr 1, 2:01 pm, Wesley <wesle...@gmail.com> wrote:
> It seems that DDMS does not accept that a debugger in another host
> connects to it (a scenario where host A has the Emulator and DDMS
> running, and host B has the debugger).
> It appears that DDMS is binding to the loopback address. Does anyone
> know if that is intentional ?

I believe this is intentional.  The security guys get twitchy when you
open service ports to the entire world. :-)

There's a work-around, if you're working out of a full source tree,
and just want to connect to DDMS on port 8700.  The "jdwpspy" tool
binds to INADDR_ANY, so if you run:

% jdwpspy 8700 8100

then jdwpspy will listen on port 8100 for incoming connections.  When
it receives one, it connects to localhost:8700 and forwards packets
both directions.

If you're not actually debugging the debugger, you may want to send
the output to /dev/null.

Anything that forward packets from one TCP port to another will work
here; jdwpspy just happens to be present in the tree.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to