Search code examples
socketsandroid-emulatorportforwarding

Android Emulator connect to server


You are my last hope. I think read everything about it but I don't understand it. I have an app that opens a socket on port 90 and connects to a server on the internet. It works on my Android tablet but not in the Android emulator. I know that i have to forward the port but I don't know how. I thought the command is "redir add tcp:90:90" but this does not work.

I need the command so I can connect to an internet adress with port 90.
Can anyone help me?


Solution

  • Hmm i found out it works sometimes and sometimes it does not work ....
    Probably a bug in the emulator.