Local machine connection to Android Emulator

Just finding answers to the other way around!

I can get my emulator to connect to my server when hosting on the local machine using IP 10.0.2.2. However it doesnt work the other way when i try to connect from the local machine to my hosting emulator.

I this case i use IP 127.0.0.1, and i get a ConnectException: connection refused. Strangely it works fine when im both hosting and using the client on the emulator.

Whats up with that?

Answers


Even I m facing the same problem. I think this is the solution however I m not able to get it to work on Linux. Here is the link How can I forward my localhost IP-Address to an Android Emulator?


Need Your Help

copy canvas to another canvas

javascript jquery html5 canvas

i use this function for copy old canvas to new canvas

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.