depends. if the phone is on wi-fi, then it will have a real IP number. however, if the phone is on 3G/Edge/etc, then its IP traffic is proxied over that network, and might not/won't be visible as a regular IP peer.

one reason for this being that there are a LOT of phones in active use right now and not a huge number of IPv4 addresses available.

another being that the telcos don't want you serving files off your phone to the internet at large!


I enter ' http://localhost:8080/console'' in my browser on G1. It
works. I can see the i-jetty console.
But I want to access the same via my desktop browser, I am not able to
get it to work.

1. I am not sure how the get the ip address from phone
2. if the network blocks the network connection where the phone is a server?


On Tue, Jan 26, 2010 at 5:12 PM, Kevin Duffey <[email protected]> wrote:
 Not for sure on this, but Android sits on top of Linux.. perhaps you have to
 set up a hosts file, or iptables or something for Android.. or something
 like it so that it allows the connection from outside the
 127.0.0.1/localhost loop back.

 Curious, why a server on the phone? What's the use of running a relatively
 heavy application on a mobile device that is generally a "client" device,
 not a server.

 On Tue, Jan 26, 2010 at 5:09 PM, hap 497 <[email protected]> wrote:

 Hi,

 I am trying to run i-jetty on G1:
 http://code.google.com/p/i-jetty/w/list

 On G1, I go to browser, and enter ' http://localhost:8080/console'. It
 works.

 But when i go to my desktop browser and enter http://{phone
 ip}:8080/console', I get a connection not found.

 I have tried using the ip address in i-jetty:
 it said 'Known IP addresses"
 rmnet0: 25.128.103.105.

 I have also tried going to 'www.find-ip-address.org' on my phone
 browser and get my phone's ip address.
 But both cases do not work.

 Thank for any help.

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

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

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


--
jason.vp.engineering.particle

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

Reply via email to