Hi David,
thanks a lot for your answer but the solution was differen, in fact I am
thinking to put an issue about this, here is the solution to my problem.

Because I am running Android on Linux Ubuntu, for us to be able to redirect
traffic from one port to another you cannot use the redir within the
emulator console on Linux as we might do on Windows, for some reason Google
has released to different commands to the problem.

For example if you want to redirect a traffic from port to port in Windows
you have to use adb shell redir <tcp:4848:4854> or <udp:4848:4854> instead
in Linux is as follow:

 adb forward tcp:4545 tcp:5554

this is something I don't really understand because commands that are part
of a specific tool or application should not vary from OS to OS as they are
part of a tool and that's why they should not be related to the Operating
System.

please spread this issue across you know

Thanks


2008/10/29 David Turner <[EMAIL PROTECTED]>

> you must use the 'redir' command from the emulator console (which is
> specific to the emulator program),
> i.e. with "telnet localhost 5554" then "redir <etc...>"
>
> "adb shell <command>" is used to run a command within the emulated system,
> and this is something very different
>
>
> On Wed, Oct 29, 2008 at 12:28 PM, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:
>
>>
>>
>> Hi Pals,
>> I have a problem with the Android Emulator.
>> When I trying to redirect the netware traffic as follow
>>
>> adb shell
>> # redir ....
>>
>> I got a message the following message in the console:
>>
>> redir: not found
>>
>> I need to redirect all the requests that my java client executes
>> through specific port to the port which my java server implementation
>> is listening on the Android Emulator.
>>
>> It seems to me that something is missing from the installation because
>> on window it does work.
>>
>> Thanks in advance Pals
>>
>> Douglas
>>
>>
>>
>
> >
>

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

Reply via email to