Jörg Knebel:

> If you guys ever need to get the public IP-Address here are some suggestions:
> 
> Mac & Windows (result will be returned into $StdOut)
> 
> $cmd:="curl ifconfig.me”
>       OR
> $cmd:="curl icanhazip.com”


Good one. I do that with my own webserver and parse the result.
You only need a website with the following two lines:

<!DOCTYPE HTML>
 <html><head></head><body><p><!--#echo var="REMOTE_ADDR"--></p></body></html>

Even better would be not to have to ping an external site at all, but I guess 
there is no way to get the external address directly from your computer.
If there is a way I would be very interested.

Greetings from Germany,
Bernd Fröhlich
**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to