For servers behind firewalls, NAT routers, or other Internet obstructions, this tag reports the IP address at which the outside world can find your server.
Parameters
none
Sample Usage
[Server_ExternalIP]
Source Code
Click the "Download" button below to retrieve a copy of this tag,
including the complete documentation and sample usage shown
on this page. Place the downloaded ".inc" file in your
LassoStartup folder, restart Lasso, and you can begin using this
tag immediately.
1
2
3
4
5
6
7
8
Define_Tag: 'Server_ExternalIP',
-Description='Returns the external IP address of the server, reported by DynDNS.org, as a string.';
Return: (String_FindRegExp: (Include_URL: 'http://checkip.dyndns.org/'),
-Find='\\d+\\.\\d+\\.\\d+\\.\\d+')->(First);
/Define_Tag;