views:

86

answers:

1

hi,

I try to browse localhost on my htc magic. I have connected my device with eclipse via usb. browsing http://10.0.2.2 I get a "Page not avialable. I remember, some days ago it worked-.-

but on the emulator I am able to browse localhost

any ideas? regards

A: 

I use my local ip for that i.e. 192.168.0.1 and it works.

Fedor
but actually 192.168.0.1 is pointing to the emulators/devices localhost. I have a webservice running on my computers localhost(apache) and I want it to access on my device
ArtWorkAD
well, i remeber that when I connect my device to my local wlan network it is able to request localhost via 10.0.2.2, via usb I think it makes no sence to do networking^^
ArtWorkAD