Is Android AVD's firewall somehow more restricted to real Android firewall?

Posted by hhh on Stack Overflow See other posts from Stack Overflow or by hhh
Published on 2012-11-04T10:35:14Z Indexed on 2012/11/04 11:00 UTC
Read the original article Hit count: 262

Filed under:
|
|
|
|

I have a TCP server running in AVD and a TCP client running in AVD. AVD client dies because the connection refused so we are doubting some restricted firewall settings. I turned off the firewall in my Debian -laptop with this here but it did not fix the problem so some issue with Android -emulator, intro here. How can I make a TCP connection from one AVD to another AVD in the same laptop in Android?

enter image description here

Grap the code & Minimal Working Example: You can find the sources here: import to Eclipse, set up two pieces of 2.3.3 AVDs, set up Test-running-configurations for server and client. Then "Run as Configuration" and you should see this bug. I don't have a physical Android -phone to test the code so I cannot comment whether it works with real Androids.

© Stack Overflow or respective owner

Related posts about java

Related posts about android