You can use a PHP script and a webserver that will let you store or echo back your public IP address.
Other than that, I'm pretty sure the network example for GMS includes a broadcast server that just broadcasts the IP of the server to any potential clients, so there wouldn't be much need for showing or storing your LAN IP.