Interesting question. I run a server on my local linux box. My android app needs to communicate with it to pull some data down. If I keep my android device on the wifi in the same network, I get routing issues. I think it has to do with loop-back of my router. I set up a no-ip.com DNS forwarding name, and use that name in my android app. While on wi-fi, it can't seem to resolve that. AS well, my other computers on same network can't seem to go out to no-ip.com to get the forwarding IP/port, and come back in to it. When I turn wifi off and use 3G, my android phone can then work.
This makes it kind of a pain when working on the emulator. Is there any way at least in the emulator to get around this issue? I can for testing purposes use a local debug string and use the ip of my machine while inside the wifi, just kinda sux to have to change that when I am ready to deploy to my android device. I tend to forget about it and have to rebuild again. On Tue, Jan 26, 2010 at 12:03 PM, Justin Anderson <[email protected]>wrote: > Not using localhost... localhost ALWAYS refers to the machine that you are > on. You might be able to do something with the machine name or its IP > address though > > > ---------------------------------------------------------------------- > There are only 10 types of people in the world... > Those who know binary and those who don't. > ---------------------------------------------------------------------- > > > On Thu, Jan 21, 2010 at 12:04 PM, fserrano <[email protected]> wrote: > >> If I plug the Nexus Ono (running Android) to my computer via USB, is >> there a way for me to see http://localhost from the computer in the >> Nexus One screen? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Beginners" group. >> >> NEW! Try asking and tagging your question on Stack Overflow at >> http://stackoverflow.com/questions/tagged/android >> >> To unsubscribe from this group, send email to >> [email protected]<android-beginners%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

