Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot connect to 10.0.2.2 on port 7101: Java.net.ConnectionException: Connection timed out.

user12187090Mar 17 2014 — edited Mar 18 2014

Hi,

I have successfully deployed an application to the Android Emulator but running it gives the error. I understand that the emulator's 10.0.2.2 address is an alias to my machine's loopback interface & I can access my machine's 127.0.0.1:7101 fine using a browser.

The emulator's IP address is 10.0.2.15.

What needs to be changed to get the connection working?

Thanks,

Raymond

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2014
Added on Mar 17 2014
2 comments
1,037 views