Maybe use an Ethernet cable to connect your web server to your Wifi router?


You need to put the web server on the Wifi LAN.



On Friday, January 4, 2013 3:58:53 PM UTC-6, John Merlino wrote:
>
> I have ruby on rails web server that my android application talks to. 
> When I connect to 10.0.2.2 on android simulator, it successfully makes 
> contact to web server. However, it does not when I test it on the 
> actual android device using a usb connection and using eclipse. I am 
> forced to use the real live ip address, but I dont want to have to 
> deploy live for every little change i need to make when testing on 
> device. What options are available? 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to