getting the user's (internet, not local network) IP address

2010-05-13 Thread Josh Mellicker
Just thought I'd share this in case it was of any use to anyone, and so at least one post on the list is not about Steve Jobs and Apple's tyrannical actions :-) To get the user's (internet, not local network) IP address, put a text file on your server with this code: Then in your app: get

getting the user's (internet, not local network) IP address

2010-05-17 Thread Michael Kann
Bob, I figured it out. I'm just a special case where the IP address on my machine goes all the way to the server without going through any other layers. -- Previous banter: -- Bob, http://www.whatismyip.com says: Your IP Address Is: 75.108.90.130 ipconfig says: IP Address. . . . . . . . . . . .

Re: getting the user's (internet, not local network) IP address

2010-05-13 Thread Michael Kann
On Windows XP: on mouseUp set the hideConsoleWindows to true put shell("ipconfig") into fld 1 // parse out what you want end mouseUp --- On Thu, 5/13/10, Josh Mellicker wrote: > From: Josh Mellicker > Subject: getting the user's (internet, not local network) IP addr

Re: getting the user's (internet, not local network) IP address

2010-05-13 Thread Josh Mellicker
dows to true > put shell("ipconfig") into fld 1 // parse out what you want > end mouseUp > > > > --- On Thu, 5/13/10, Josh Mellicker wrote: > >> From: Josh Mellicker >> Subject: getting the user's (internet, not local network) IP address >> To:

Re: getting the user's (internet, not local network) IP address

2010-05-14 Thread Michael Kann
osh Mellicker > Subject: Re: getting the user's (internet, not local network) IP address > To: "How to use Revolution" > Date: Thursday, May 13, 2010, 10:15 PM > Does that get the internet IP or > local IP? > > > On Mac, this returns: > > usage: i

Re: getting the user's (internet, not local network) IP address

2010-05-14 Thread Andre Garzia
Josh, I don't think a better way is needed. Since in the rare case that he has a network connection but can't connect to your server, then, there's something odd happening. Yes there's the case where the whole app locks while trying to find if it can connect or not, maybe setting the socketTimeou

Re: getting the user's (internet, not local network) IP address

2010-05-14 Thread Jeff Massung
On Thu, May 13, 2010 at 9:14 PM, Josh Mellicker wrote: > > > To get the user's (internet, not local network) IP address, put a text file > on your server with this code: > > > > > This still doesn't [fully] work. While not the local IP address, you'd still have to perform NAT traversal in order t

Re: getting the user's (internet, not local network) IP address

2010-05-14 Thread Alex Tweedly
On 14/05/2010 20:17, Jeff Massung wrote: This still doesn't [fully] work. While not the local IP address, you'd still have to perform NAT traversal in order to do any actual communication with the client machine (read: anything useful). At best, with this IP address you can find out the general

Re: getting the user's (internet, not local network) IP address

2010-05-17 Thread Bob Sneidar
gt;> On May 13, 2010, at 7:24 PM, Michael Kann wrote: >> >>> On Windows XP: >>> >>> on mouseUp >>> set the hideConsoleWindows to true >>> put shell("ipconfig") into fld 1 // parse out what you >> want >>> end mouseUp >>&

Re: getting the user's (internet, not local network) IP address

2010-05-17 Thread Michael Kann
0.42.100 > >                >                 >     208.180.42.68 > > Lease Obtained: Friday, May 14, 2010 8:52:39 AM > > Lease Expires: Saturday, May 15, 2010 9:48:49 AM > > > > > > Ethernet adapter Wireless Network Connection: > > > > Media State .

Re: getting the user's (internet, not local network) IP address

2010-05-17 Thread Bob Sneidar
That's because you connect to the internet without a gateway/router/firewall, in which case there is no public IP. I would rectify that situation pronto. No one should connect directly to the internet these days. Bob On May 17, 2010, at 11:08 AM, Michael Kann wrote: > Bob: > > http://www.wh

Re: getting the user's (internet, not local network) IP address

2010-05-17 Thread Alex Tweedly
On 17/05/2010 23:48, Bob Sneidar wrote: That's because you connect to the internet without a gateway/router/firewall, in which case there is no public IP. I would rectify that situation pronto. No one should connect directly to the internet these days. No, it doesn't necessarily imply tha

Re: getting the user's (internet, not local network) IP address

2010-05-17 Thread Bob Sneidar
Huh. I'm an IT guy and although I knew about (what some call) classic routers (we use a double routing method here) I was not aware that there was a such thing as fire walling without some kind of NAT protection. If this is fairly common as you say, I am quite shocked! For servers I would set up

Re: getting the user's (internet, not local network) IP address

2010-05-17 Thread Michael Kann
any home user or business. --- What that tells me is that a personal firewall isn't really sufficient. Thanks again for the info, Mike --- On Mon, 5/17/10, Bob Sneidar wrote: > From: Bob Sneidar > Subject: Re: getting the user's (internet, not local network) IP address >

Re: getting the user's (internet, not local network) IP address

2010-05-18 Thread Bob Sneidar
Hi Mike. It is the generally accepted rule of thumb that some kind of firewall appliance between your cable modem and your computer is highly advisable. First, it almost certainly will use some form of NAT, which is Network Address Translation. This converts the packet info containing your loc

Re: getting the user's (internet, not local network) IP address

2010-05-18 Thread Michael Kann
Bob, Thank you very much for the good info. You've fired me up install the setup you describe. Until now I've probably just been luckier than I deserve to be. Mike --- On Tue, 5/18/10, Bob Sneidar wrote: > From: Bob Sneidar > Subject: Re: getting the user's (internet,