Good Evening Bob,
Thanks for your response. Before I abandon this design, please comment
on this use case. Let's say I have two phones on the same carrier
(Verizon). Would not these phones be on the same side of the NAT firewall?
If so, could one Droid on the Verizon network listen for a connection
request from another Droid on the Verizon network? Again, thanks for your
comments. They are very helpful.
Burgwindeck
On Thu, Mar 4, 2010 at 4:57 PM, Bob Kerns <[email protected]> wrote:
> You can't do that, any more than you can connect from your home PC to
> my home PC. We're probably both behind NAT firewalls, with IP
> addresses that can't be used on the public internet.
>
> Actually, my T-Mobile phone has a publicly-routeable IP, while my ATT
> does not. But the bottom line is, at the very least, you're going to
> need each individual carrier's active involvement to get incoming IP
> connections to your phone.
>
> It's just not a viable strategy, even if you were to succeed in some
> cases.
>
> You need a different strategy -- such as both phones establishing an
> outgoing connection to a common server, which routes the
> communications between them.
>
> You can use SMS push to trigger the phone to connect, so one side can
> still initiate the process -- but they'll need the phone number to do
> that.
>
> Note that you have the same problem via wifi, unless both happen to be
> on the same wifi network. Most Wifi networks are behind NAT firewalls,
> and you won't be able to get incoming connections from outside.
>
> On Mar 4, 2:45 pm, Jon Dixon <[email protected]> wrote:
> > I have tried several different ports. All ports were above the 0-1024
> well
> > known port values. In my last attempt I tried a port value of 1956.
> All
> > devices that attempt to connect to the Droid hang and eventually throw a
> > connection timeout exception. Do you have any recommendations that I can
> > try?
> >
> > Thanks for your response.
> >
> > Burgwindeck
> >
> >
> >
> > On Thu, Mar 4, 2010 at 1:33 PM, #iNjection- <[email protected]> wrote:
> > > What ports are you using/listening on?
> >
> > > --
> > > 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]<android-developers%[email protected]><android-developers%2Bunsubs
> [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]<android-developers%[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