Has anyone managed to get this working yet...

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Has anyone managed to get this working yet...

Postby Genesis » Mon Jan 04, 2010 6:24 pm

Interconnecting Emulator Instances
To allow one emulator instance to communicate with another, you must set up the necessary network redirections as illustrated below.

Assume that your environment is

A is you development machine
B is your first emulator instance, running on A
C is your second emulator instance, running on A too
and you want to run a server on B, to which C will connect, here is how you could set it up:

Set up the server on B, listening to<serverPort>
On B's console, set up a redirection from A:localhost:<localPort> to B:<serverPort>
On C, have the client connect to<localPort>
For example, if you wanted to run an HTTP server, you can select <serverPort> as 80 and <localPort> as 8080:

B listens on
On B's console, issue redir add tcp:8080:80
C connects to

I have tried several times at getting this to work but had no success. I am wondering if anyone else has had any luck with it?
Posts: 3
Joined: Mon Nov 02, 2009 8:14 pm


Postby handeng » Tue Jan 05, 2010 4:15 am

Can you access<serverPort> on A?
Once Poster
Once Poster
Posts: 1
Joined: Tue Jan 05, 2010 4:00 am


Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 2 guests