android - How to access a server running inside genymotion emulator from my computer? -


i've installed simplehttpserver app on genymotion emulator (google nexus 9 - 5.1.0 - api 22).

the app created http server on android , allows access phone browser using following urls:

  1. http://10.0.3.15:12345/
  2. http://192.168.56.101:12345/

now can access these urls android browser inside emulator when try access them outside emulator using browser (windows) connection error / 404.

how can connect serversocket on android outside emulator?


p.s. can access apache server (installed on computer / windows) genymotion emulator using http://192.168.56.1/ or http://10.0.3.2, there no way access http server running inside genymotion emulator windows?

i had following working

adb forward tcp:[host port] tcp:[virtual device port]

from here


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -