4

How to connect to my http://localhost web server from MEmu Android emulator for development with android studio and MVC or PHP web service.

3 Answers 3

7

I couldn't access localhost via http://10.0.3.2:<hostport> instead I had to use: http://10.0.2.2:<hostport>

Sign up to request clarification or add additional context in comments.

Comments

2

use IP address http://10.0.3.2 in your application.

Comments

0

Set MEmu network to bridged mode.

After that I was able to connect the host PC on http://192.168.x.y:zzzz/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.