Alternatively please fill in the form below and provide us with as much detail about your travel plans as you can.During normal business hours we will endeavour to reply to your email within an hour.Mine was 10.0.0.#, then just add [10.0.0.#:(port)/Server/Servlet] or whatever It is very simple.
Just start the activity where you connect to localhost where you can use emulator.
Then, open command prompt using run as administrator Give ipconfig command Which shows wireless lan ip Use ip:port of your server to access in phone finally done in Ubuntu , i am running nodejs server on localhost:8080 1) open terminal type ifconfig you will get ip something like this : inet addr:192.1 2) now simply put url address like this : "192.80" (8080 port coming from localhost port number) ex : "192.80/fetch" Personally I do not insist to use localhost when using device, there is no easy solution.
It only takes a few seconds so is worth a try before getting into any more complicated solutions. I found it a quick and super easy way to get access to localhost on my phone.
Finally got my app up and running on the phone in seconds just by using the Python simple server. If not then the problem is something else and you may want to look into some of the other suggested solutions. * EDIT * Another quick solution to try if you're using Chrome is the Web Server for Chrome extension.
Update Star Free and Update Star Premium come with the same installer.