by the way, 192.168.0.85 is your IP address.

On Apr 11, 11:09 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Yes, I think this is a bug.
>
> My solution is:
>
> 1. Enter the Android tools path and run:
>     adb forward tcp:2027 tcp:2027
>
> 2. Download a tool which named stcppipe and run:
>    stcppipe.exe -b 192.168.0.85 127.0.0.1 2027 2027
>
> and you can run your application correctly now.
>
> Regards.
>
> On Apr 11, 4:02 am, Pipex <[EMAIL PROTECTED]> wrote:
>
> > I have the same problem, i create a ServerSocket to port 2027, I
> > telnet to the emulator and execute "redir add tcp:2027:2027", i can
> > connect from localhost, but no from a remote host. It's not a firewall
> > issue because I turned it off for the test. I'm in a linux machine,
> > anyone has found a solution for this? Is it a bug?
>
> > On Mar 2, 3:46 am, ken <[EMAIL PROTECTED]> wrote:
>
> > > Thanks a lot for your help.
> > > I have tried the "redir" command in the telnet, and I tested the
> > > program in the same machine and theServerSocketworked.
>
> > > But after i ran my Client on other machines, the Android ip/port
> > > couldn't be found. Does it mean that the Android's listening ip/port
> > > can't be seen by another machine?
>
> > > What could I do?
>
> > > On Feb 28, 8:12 pm, Digit <[EMAIL PROTECTED]> wrote:
>
> > > > you need to create a TCP or UDP redirection to let your client on the PC
> > > > access the server on the emulated device.
> > > > for example, if you connect to the emulator's control console, and type
> > > > something like:
>
> > > > redir add tcp:5000:6000
>
> > > > this will redirect all connections to your PC's localhost:5000 towards 
> > > > the
> > > > emulated localhost:6000
>
> > > > have a look at the emulator documentation for more details (or you could
> > > > type "redir help" in the control console)
>
> > > > On Thu, Feb 28, 2008 at 9:25 AM, ken <[EMAIL PROTECTED]> wrote:
>
> > > > > I found thatServerSocketcan't work in Android emulator.
>
> > > > > When the Socket client is on a PC, theServerSocketis on the
> > > > > emulator, and theServerSocketis binded with an ip address of the
> > > > > machine running the emulator,  theServerSocketwon't work.
>
> > > > > In the bug list web site, I found the bug report:
> > > > >http://wiki.droiddocs.net/KB-20071127-016
>
> > > > > What is the replacement solution since the latest version of Android
> > > > > has not fixed this after 20071127?
> > > > > Anyone can help me since the emulator must serve as a remote service?
>
> > > > > Best regards.
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to