Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access localhost from a NOX app player android emulator?

I need to get access to my wamp server localhost from NOX app player.

Which link I could use to get it. the 10.0.2.2 not working with it...

like image 433
ABDUL SAMAD Avatar asked Jun 22 '16 07:06

ABDUL SAMAD


4 Answers

I found the IP to be 172.17.100.2. Found this out by installing the Android "Fing" app to browse the network and tried the first result. Works great. Not sure why NOX didn't stick with the usual 10.0.2.2 like most other emulators I've used.

like image 112
Derek Lauro Avatar answered Sep 21 '22 05:09

Derek Lauro


With NOX 3.7.0 I can connect to host machine using 192.168.56.1.

It listed in ipconfig /all (I use windows 10)

like image 35
hurie Avatar answered Sep 19 '22 05:09

hurie


Use your machines ip address if you are connected to a network e.g 10.70.10.3 instead of using 127.0.0.1/localhost

credit: sechanakira's comment

This has worked for me. My machine is connected to a LAN.

Steps:

  1. Run ipconfig to get my IP.
  2. Replace 127.0.0.1 with my IP in NOX app player
like image 38
sechanakira Avatar answered Sep 20 '22 05:09

sechanakira


NOX 3.7.6.3.I use PC's ip and port number (for example 192.168.0.200:80). ip from ipconfig, port - whatever you set for your localhost(80 by default). And it works with Nox app player 6.2.5.3.

like image 42
MaCoda Avatar answered Sep 18 '22 05:09

MaCoda