Thanks David for replying. It was my mistake I missed to check the
environment variable http_proxy because of which all TCP connections
that were initiated from Android try to connect to the $http_proxy
value(which is perfectly fine as per the documentation). I just unset
http_proxy and it started working fine. No port forwarding,
redirection etc are required for initiating a TCP connection (TCP
connect) to any arbitrary TCP server.
Now, I am trying to establish a connection to a TCP server running on
Android from a TCP client running on windows machine. I tried the
following -
Android TCP Server - Listening on
10.0.2.15:8767, redir add tcp:
8767:8767
Windows TCP Client - connect to <Android Host Machine Ubuntu IP
Address>:8767
The above setup does not work. I think SSH forwarding is required
between Windows system and Android Host Ubuntu system, but I don't
have any clue how to proceed. Kindly help me
Thanks,
Ash
On Sep 1, 11:30 pm, David Turner <
di...@android.com> wrote:
> A client in the emulator should be able to connect to any arbitrary TCP
> server,barring DNS issues. What exact error do you get when you try that?
> > Ash- Hide quoted text -
>
> - Show quoted text -